whj %!s(int64=4) %!d(string=hai) anos
pai
achega
3e5603bb32
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();