aboutsummaryrefslogtreecommitdiffstats
path: root/admin/history.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/history.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/history.php b/admin/history.php
index 86014fc7b..b0022b902 100644
--- a/admin/history.php
+++ b/admin/history.php
@@ -136,7 +136,7 @@ INSERT INTO '.SEARCH_TABLE.'
;';
pwg_query($query);
- $search_id = pwg_db_insert_id();
+ $search_id = pwg_db_insert_id(SEARCH_TABLE);
redirect(
PHPWG_ROOT_PATH.'admin.php?page=history&search_id='.$search_id
@@ -198,7 +198,7 @@ INSERT INTO '.SEARCH_TABLE.'
;';
pwg_query($query);
- $search_id = pwg_db_insert_id();
+ $search_id = pwg_db_insert_id(SEARCH_TABLE);
redirect(
PHPWG_ROOT_PATH.'admin.php?page=history&search_id='.$search_id