show only active languages.
authorAlan Knowles <alan@roojs.com>
Wed, 22 May 2019 04:16:31 +0000 (12:16 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 May 2019 04:16:31 +0000 (12:16 +0800)
DataObjects/I18n.php

index ef145a1..ce1619a 100644 (file)
@@ -246,7 +246,7 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
     function toTransList($ltype, $inlang)
     {
         
-        
+        $this->is_active = 1;
         $this->ltype = $ltype;
         $this->inlang= $inlang;
         $this->selectAdd();