Browse Source

feat: NG-15: 新会员注册时增加国家与语言选项.

kevin 1 năm trước cách đây
mục cha
commit
76b511a92c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      common/models/Countries.php

+ 1 - 1
common/models/Countries.php

@@ -78,7 +78,7 @@ class Countries extends \common\components\ActiveRecord
      */
     public static function getAllData()
     {
-        return static::find()->where('1=1')->orderBy('ACTIVE DESC, NAME ASC')->asArray()->all();
+        return static::find()->where('ACTIVE=1')->orderBy('ACTIVE DESC, NAME ASC')->asArray()->all();
     }
 
     /**