DataObjects/I18n.php
authorChris <chris@roojs.com>
Thu, 3 Jan 2013 10:57:52 +0000 (18:57 +0800)
committerChris <chris@roojs.com>
Thu, 3 Jan 2013 10:57:52 +0000 (18:57 +0800)
DataObjects/I18n.php

index fc32b7a..a89d603 100644 (file)
@@ -198,7 +198,7 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
         
         foreach ($ret as $k=>$v) {
             $ret[$k] = ($t=='l') ? $ret[$k] : strtoupper($v);
-            if($t=='l') print_r($ret);
+            if($t=='l') echo '<PRE>'.print_r($ret);
         }
 
         return $ret;