diff --git a/html/inc/db_ops.inc b/html/inc/db_ops.inc index f2df36bb9e..5d215707e4 100644 --- a/html/inc/db_ops.inc +++ b/html/inc/db_ops.inc @@ -181,7 +181,7 @@ class SqlQueryString { if ($clause) { $c = stripslashes(urldecode($clause)); $this->add("( $c )"); - $clause = urlencode($clause); + $clause = urlencode(stripslashes($clause)); $this->urlquery .= "&clauses=$clause"; } }