aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-09-30 15:18:35 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-09-30 15:18:35 +0000
commitad4d7c036eb144559bbce553afa4952587c28e56 (patch)
tree4a24c7861d50bc475f27220b3eb317bf09e836dd /phpBB/posting.php
parente4c3a743cae78196ef0e2bfd0dcd27e1ea4bb1ba (diff)
downloadforums-ad4d7c036eb144559bbce553afa4952587c28e56.tar
forums-ad4d7c036eb144559bbce553afa4952587c28e56.tar.gz
forums-ad4d7c036eb144559bbce553afa4952587c28e56.tar.bz2
forums-ad4d7c036eb144559bbce553afa4952587c28e56.tar.xz
forums-ad4d7c036eb144559bbce553afa4952587c28e56.zip
merge r8956, r8957 and r8960
git-svn-id: file:///svn/phpbb/trunk@8961 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index fc173e7dbd..1ec693e16f 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -120,7 +120,7 @@ switch ($mode)
else
{
upload_popup();
- exit;
+ return;
}
break;
@@ -151,7 +151,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']);
@@ -282,7 +282,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...