DataObjects/I18n.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 03:56:01 +0000 (11:56 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 03:56:01 +0000 (11:56 +0800)
DataObjects/I18n.php

index 9930c3b..44fe12e 100644 (file)
@@ -115,7 +115,9 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
         
         
         if ($inlang === false) {
-            foreach( $this->cfg['t'] as $l) {
+            // do we want to add our 'configured ones..'
+            foreach( $this->availableCodes('l') as $l) {
+           // foreach( $this->cfg['t'] as $l) {
                 $this->buildDB($ltype, $l);
             }
             return;