Skip to content

Commit 7b0164a

Browse files
author
juantorres
committed
Limits where allowing an extra call. This fixes that issue.
1 parent 5e05076 commit 7b0164a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/libraries/REST_Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ protected function _check_limit($controller_method)
531531
else
532532
{
533533
// Your luck is out, you've called too many times!
534-
if ($result->count > $limit)
534+
if ($result->count >= $limit)
535535
{
536536
return FALSE;
537537
}

0 commit comments

Comments
 (0)