From 251eb15fec0c6bc7f617d623458023b5ed08a245 Mon Sep 17 00:00:00 2001 From: gpolins <gpolins@users.sourceforge.net> Date: Fri, 31 Aug 2001 03:09:42 +0000 Subject: Changed all error_die to message_die git-svn-id: file:///svn/phpbb/trunk@951 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/search.php | 6 +++--- 1 file 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 +?> -- cgit v1.2.1