diff --git a/app/model/Channel.php b/app/model/Channel.php index c76ffc8..5ebd8f7 100644 --- a/app/model/Channel.php +++ b/app/model/Channel.php @@ -42,7 +42,7 @@ class Channel extends Model public static function getAll() { - $list = self::get()->select('id','name','name_en','status')->where('status',0)->toArray(); + $list = self::get()->select('id','name','name_en','status')->where('status',1)->toArray(); return $list; } } \ No newline at end of file