Explorar el Código

Update Model.php

Dog hace 3 años
padre
commit
7610989d5e
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      src/Grid/Model.php

+ 4 - 1
src/Grid/Model.php

@@ -536,7 +536,10 @@ class Model
         }
 
         $perPage =  $this->request->get($this->getPerPageName()) ?: $this->perPage;
-        if($perPage) return (int)$perPage;
+        if($perPage){
+            return (int) $perPage;
+        }
+        
         return null;
     }