Use Defined Limit
This commit is contained in:
parent
b8aa9f8738
commit
73f4cafc28
@ -8,7 +8,7 @@ $api->isActive();
|
|||||||
$user_id = $api->checkAccess($user->checkApiKey($_REQUEST['api_key']), @$_REQUEST['id']);
|
$user_id = $api->checkAccess($user->checkApiKey($_REQUEST['api_key']), @$_REQUEST['id']);
|
||||||
|
|
||||||
// Fetch transactions
|
// Fetch transactions
|
||||||
if (isset($_REQUEST['limit']) && $_REQUEST['limit'] =< 100) {
|
if (isset($_REQUEST['limit']) && $_REQUEST['limit'] <= 100) {
|
||||||
$limit = $_REQUEST['limit'];
|
$limit = $_REQUEST['limit'];
|
||||||
} else {
|
} else {
|
||||||
// Force limit
|
// Force limit
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user