mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-15 22:26:32 +02: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:
@ -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);
|
||||||
|
Reference in New Issue
Block a user