You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// increase limit by offset when visitor paginates
if(!empty($offset))
{
$limit += (int)$offset;
}
...
LIMIT ".(int)$limit;
Since it doesn't look like the $offset is set in the current code, this probably won't be a compat buster: remove the += statement, and change the LIMIT clause to:
LIMIT ".(int)$offset.",".(int)$limit;
The text was updated successfully, but these errors were encountered:
This looks wrong:
Since it doesn't look like the $offset is set in the current code, this probably won't be a compat buster: remove the += statement, and change the LIMIT clause to:
The text was updated successfully, but these errors were encountered: