diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-09-30 09:49:20 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-09-30 09:49:20 +0000 |
commit | 77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394 (patch) | |
tree | bc1007e194cf34eca13683d7e21818b04ec213d0 /phpBB/posting.php | |
parent | eef41d039edecdb80b52a4122dacd874d0e1b807 (diff) | |
download | forums-77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394.tar forums-77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394.tar.gz forums-77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394.tar.bz2 forums-77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394.tar.xz forums-77cf8e50d9e1b37cdd5ba5bb409ce6ac09fba394.zip |
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
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 057d8b3b41..4cfd1d7d72 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -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... |