Pman/I18N.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 8 Jul 2010 05:14:17 +0000 (13:14 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 8 Jul 2010 05:14:17 +0000 (13:14 +0800)
Pman/I18N.php

index 1cd390b..34970b5 100644 (file)
@@ -89,7 +89,7 @@ class Pman_I18N extends Pman
                 $this->cfg[$k] = $this->getDefaultCfg($k);
                 continue;
             }
-            $this->cfg[$k] = explode(',', $v);
+            $this->cfg[$k] = is_array($v) ? $v  : explode(',', $v);
         }