aboutsummaryrefslogtreecommitdiffstats
path: root/qsearch.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--qsearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/qsearch.php b/qsearch.php
index feb549b55..162686381 100644
--- a/qsearch.php
+++ b/qsearch.php
@@ -60,7 +60,7 @@ INSERT INTO '.SEARCH_TABLE.'
(\''.addslashes(serialize($search)).'\', NOW() )
;';
pwg_query($query);
- $search_id = pwg_db_insert_id();
+ $search_id = pwg_db_insert_id(SEARCH_TABLE);
}
redirect(