whj hace 4 años
padre
commit
3e5603bb32
Se han modificado 1 ficheros con 1 adiciones y 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();