+ Add Validation for limit
This commit is contained in:
davidcallizaya
2017-05-15 08:55:44 -04:00
parent 541460bad3
commit ee9c29bf19

View File

@@ -156,6 +156,9 @@ class Applications
}
//Define the number of records by return
if(empty($limit)) {
$limit = 25;
}
if (!empty($start)) {
$sqlData .= " LIMIT $start, " . $limit;
} else {