diff options
Diffstat (limited to 'web/html/voters.php')
-rw-r--r-- | web/html/voters.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/voters.php b/web/html/voters.php index aa2aa50c..02abe290 100644 --- a/web/html/voters.php +++ b/web/html/voters.php @@ -5,7 +5,7 @@ include('pkgfuncs.inc.php'); function getvotes($pkgid) { $dbh = db_connect(); - $pkgid = mysql_real_escape_string($pkgid); + $pkgid = db_escape_string($pkgid); $result = db_query("SELECT UsersID,Username FROM PackageVotes LEFT JOIN Users on (UsersID = ID) WHERE PackageID = $pkgid ORDER BY Username", $dbh); return $result; |