Browse Source

Merge branch 'master' of http://git.9026.com/Silent/RailwayTwo

wanghaijun 4 năm trước cách đây
mục cha
commit
2cc0c57b41
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Models/Project.php

+ 1 - 1
app/Models/Project.php

xqd
@@ -117,7 +117,7 @@ class Project extends BaseModel
 
     public static function getOptions()
     {
-        return self::where('id', '>', 1)->get()->toArray();
+        return self::get()->toArray();
     }
     public static function getNotOneProjectOptions(){
         return self::where('id','!=',1)->get();