aboutsummaryrefslogtreecommitdiffstats
path: root/qsearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'qsearch.php')
-rw-r--r--qsearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/qsearch.php b/qsearch.php
index a7fc1d956..2635ea31a 100644
--- a/qsearch.php
+++ b/qsearch.php
@@ -43,7 +43,7 @@ $query ='
INSERT INTO '.SEARCH_TABLE.'
(rules, last_seen)
VALUES
- (\''.serialize($search).'\', NOW() )
+ (\''.addslashes(serialize($search)).'\', NOW() )
;';
pwg_query($query);