aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_reports.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-11-26 14:55:18 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-11-26 14:55:18 +0000
commit6583f90b8d082096ebd9cfc0588730dd36efb077 (patch)
tree36d01de359aafeabe6daa571ea2c0a40da41ab14 /phpBB/includes/mcp/mcp_reports.php
parent5c5330c29d3e19eab804d9dbfd0261e6459e00b8 (diff)
downloadforums-6583f90b8d082096ebd9cfc0588730dd36efb077.tar
forums-6583f90b8d082096ebd9cfc0588730dd36efb077.tar.gz
forums-6583f90b8d082096ebd9cfc0588730dd36efb077.tar.bz2
forums-6583f90b8d082096ebd9cfc0588730dd36efb077.tar.xz
forums-6583f90b8d082096ebd9cfc0588730dd36efb077.zip
- bug fixes for #5618, #5588 and #5584
- remove messenger->reset() calls (they are already performed on sending) git-svn-id: file:///svn/phpbb/trunk@6660 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_reports.php')
-rwxr-xr-xphpBB/includes/mcp/mcp_reports.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php
index 709d685e88..7a84c872a5 100755
--- a/phpBB/includes/mcp/mcp_reports.php
+++ b/phpBB/includes/mcp/mcp_reports.php
@@ -494,13 +494,12 @@ function close_report($post_id_list, $mode, $action)
);
$messenger->send($reporter['user_notify_type']);
- $messenger->reset();
}
-
- $messenger->save_queue();
}
unset($notify_reporters, $post_info);
+ $messenger->save_queue();
+
$success_msg = (sizeof($post_id_list) == 1) ? 'REPORT_' . strtoupper($action) . 'D_SUCCESS' : 'REPORTS_' . strtoupper($action) . 'D_SUCCESS';
}
else