mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-22 19:28:53 +00:00
Changed all error_die to message_die
git-svn-id: file:///svn/phpbb/trunk@951 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
6cd6010e47
commit
251eb15fec
1 changed files with 3 additions and 3 deletions
|
@ -371,7 +371,7 @@ if((isset($HTTP_POST_VARS['dosearch']) || isset($HTTP_GET_VARS['dosearch'])) &&
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
if(!$result)
|
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);
|
$searchset = $db->sql_fetchrowset($result);
|
||||||
|
|
||||||
|
@ -490,7 +490,7 @@ $sql = "SELECT forum_name, forum_id
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
if(!$result)
|
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);
|
$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);
|
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue