Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #47 from Bushstar/patch-1
Browse files Browse the repository at this point in the history
Fix XSS bug
  • Loading branch information
Chris Dickenson committed Mar 26, 2014
2 parents a330cf6 + 1e66c86 commit 9833d3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browse.php
Expand Up @@ -182,7 +182,7 @@
}
else
{
$PAGE = $_REQUEST['PAGE'];
$PAGE = intval($_REQUEST['PAGE']);
$OFFSET = ($PAGE - 1) * $system->SETTINGS['perpage'];
}
$PAGES = ceil($TOTALAUCTIONS / $system->SETTINGS['perpage']);
Expand Down Expand Up @@ -235,4 +235,4 @@
));
$template->display('body');
include 'footer.php';
?>
?>

0 comments on commit 9833d3f

Please sign in to comment.