diff options
author | Cesar G <prototech91@gmail.com> | 2013-10-18 02:37:11 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2013-11-19 07:32:49 -0800 |
commit | 3eda261b8d591ebd6a3d20b1f85c418c9c02f84a (patch) | |
tree | 9d6f3c8da25d7bf9322ae33e5152ec3568b2a5a1 /phpBB/includes/mcp/mcp_queue.php | |
parent | c6473da412d1a572ed80ec10d826239ad5ce5098 (diff) | |
download | forums-3eda261b8d591ebd6a3d20b1f85c418c9c02f84a.tar forums-3eda261b8d591ebd6a3d20b1f85c418c9c02f84a.tar.gz forums-3eda261b8d591ebd6a3d20b1f85c418c9c02f84a.tar.bz2 forums-3eda261b8d591ebd6a3d20b1f85c418c9c02f84a.tar.xz forums-3eda261b8d591ebd6a3d20b1f85c418c9c02f84a.zip |
[ticket/11672] Remove some messages that were missed in mcp_queue.php.
PHPBB3-11672
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index e529960c99..48b6740583 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -725,7 +725,7 @@ class mcp_queue $add_message = '<br /><br />' . sprintf($user->lang['RETURN_POST'], '<a href="' . $post_url . '">', '</a>'); } - $message = $user->lang[$success_msg] . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $redirect . '">', '</a>') . $add_message; + $message = $user->lang[$success_msg]; if ($request->is_ajax()) { @@ -737,6 +737,10 @@ class mcp_queue 'visible' => true, )); } + else + { + $message .= '<br /><br />' . $user->lang('RETURN_PAGE', '<a href="' . $redirect . '">', '</a>') . $add_message; + } trigger_error($message); } @@ -1212,7 +1216,7 @@ class mcp_queue } else { - $message = $user->lang[$success_msg] . '<br /><br />' . sprintf($user->lang['RETURN_PAGE'], '<a href="' . $redirect . '">', '</a>'); + $message = $user->lang[$success_msg]; if ($request->is_ajax()) { @@ -1224,6 +1228,10 @@ class mcp_queue 'visible' => false, )); } + else + { + $message .= '<br /><br />' . $user->lang('RETURN_PAGE', '<a href="' . $redirect . '">', '</a>'); + } meta_refresh(3, $redirect); trigger_error($message); |