Module: appdb Branch: master Commit: f67bcdc72e77b2783efa04a94a1a6ccdb48c2983 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=f67bcdc72e77b2783efa04a94...
Author: Jeremy Newman jnewman@codeweavers.com Date: Fri Apr 28 10:02:40 2017 -0500
change one more incorrect call to query_real_escape_string
---
include/db_filter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/db_filter.php b/include/db_filter.php index aa3fbc9..694eb19 100644 --- a/include/db_filter.php +++ b/include/db_filter.php @@ -210,7 +210,7 @@ class FilterSet $sWhere = $this->getFilterCount() ? 'WHERE '.$this->getWhereClause() : ''; $sQuery = "SELECT * FROM $sTable $sWhere";
- $iLimit = query_real_escape_string($iLimit); + $iLimit = query_escape_string($iLimit);
if($iLimit) $sQuery .= " LIMIT 0,$iLimit";