aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/search.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index f636f23992..b42245cf68 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -371,7 +371,7 @@ if((isset($HTTP_POST_VARS['dosearch']) || isset($HTTP_GET_VARS['dosearch'])) &&
$result = $db->sql_query($sql);
if(!$result)
{
- error_die(QUERY_ERROR, "Couldn't obtain search results", __LINE__, __FILE__);
+ message_die(QUERY_ERROR, "Couldn't obtain search results", __LINE__, __FILE__);
}
$searchset = $db->sql_fetchrowset($result);
@@ -490,7 +490,7 @@ $sql = "SELECT forum_name, forum_id
$result = $db->sql_query($sql);
if(!$result)
{
- error_die(QUERY_ERROR, "Couldn't obtain forum_name/forum_id", __LINE__, __FILE__);
+ message_die(QUERY_ERROR, "Couldn't obtain forum_name/forum_id", __LINE__, __FILE__);
}
$is_auth_ary = auth(AUTH_READ, AUTH_LIST_ALL, $userdata);
@@ -555,4 +555,4 @@ $template->pparse("body");
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
-?> \ No newline at end of file
+?>