Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix SQLi in messages admin #682
  • Loading branch information
rjmackay committed Jul 6, 2012
1 parent 9d24657 commit 6f6a919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/messages.php
Expand Up @@ -78,7 +78,7 @@ public function index($service_id = 1)
// Do we have a reporter ID?
if (isset($_GET['rid']) AND !empty($_GET['rid']))
{
$filter .= ' AND message.reporter_id=\''.$_GET['rid'].'\'';
$filter .= ' AND message.reporter_id=\''.intval($_GET['rid']).'\'';
}

// ALL / Trusted / Spam
Expand Down

0 comments on commit 6f6a919

Please sign in to comment.