HOR-2873
+ Add Validation for limit
This commit is contained in:
@@ -156,6 +156,9 @@ class Applications
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Define the number of records by return
|
//Define the number of records by return
|
||||||
|
if(empty($limit)) {
|
||||||
|
$limit = 25;
|
||||||
|
}
|
||||||
if (!empty($start)) {
|
if (!empty($start)) {
|
||||||
$sqlData .= " LIMIT $start, " . $limit;
|
$sqlData .= " LIMIT $start, " . $limit;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user