Skip to content

Commit

Permalink
Fixed issue #9720: SQL injection vulnerability in data entry
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jun 26, 2015
1 parent 239d843 commit 65d7174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/dataentry.php
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ public function insert()
{
if (isset($usesleft) && $usesleft<=1)
{
$utquery .= "SET usesleft=usesleft-1, completed='$submitdate'\n";
$utquery .= "SET usesleft=usesleft-1, completed=".dbQuoteAll($submitdate);
}
else
{
Expand Down

0 comments on commit 65d7174

Please sign in to comment.