mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
further adjustments to exit; statements
force E_USER_ERROR to exit *always* - it is always a fatal error which should stop every execution happening git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8957 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -114,7 +114,7 @@ switch ($mode)
|
||||
else
|
||||
{
|
||||
upload_popup();
|
||||
exit;
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -145,7 +145,7 @@ if (!$post_data)
|
||||
if ($mode == 'popup')
|
||||
{
|
||||
upload_popup($post_data['forum_style']);
|
||||
exit;
|
||||
return;
|
||||
}
|
||||
|
||||
$user->setup(array('posting', 'mcp', 'viewtopic'), $post_data['forum_style']);
|
||||
@@ -276,7 +276,7 @@ if ($mode == 'edit' && !$auth->acl_get('m_edit', $forum_id))
|
||||
if ($mode == 'delete')
|
||||
{
|
||||
handle_post_delete($forum_id, $topic_id, $post_id, $post_data);
|
||||
exit;
|
||||
return;
|
||||
}
|
||||
|
||||
// Handle bump mode...
|
||||
|
Reference in New Issue
Block a user