|
@@ -220,7 +220,10 @@ class CatchQuery extends Query
|
|
|
|
|
|
$listRows = $limit ? : CatchModel::LIMIT;
|
|
|
}
|
|
|
-
|
|
|
+ if(gettype($listRows)=='string'){
|
|
|
+ $listRows=(int)$listRows;
|
|
|
+ }
|
|
|
+
|
|
|
return parent::paginate($listRows, $simple); // TODO: Change the autogenerated stub
|
|
|
}
|
|
|
|