aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-09-16 22:42:32 +0200
committerIgor Wiedler <igor@wiedler.ch>2010-09-16 22:42:32 +0200
commite35711ddde8f5e9f94d4b5145662877619ceecd4 (patch)
tree16b5b18a4c14860bccd591d4b8a0d7a2ab833868 /phpBB/includes/functions_posting.php
parent4d5d50001d00390b8255da736e67e38d83c8bed5 (diff)
parent46810f874758516a8b5ce0fc680f05b612f70f60 (diff)
downloadforums-e35711ddde8f5e9f94d4b5145662877619ceecd4.tar
forums-e35711ddde8f5e9f94d4b5145662877619ceecd4.tar.gz
forums-e35711ddde8f5e9f94d4b5145662877619ceecd4.tar.bz2
forums-e35711ddde8f5e9f94d4b5145662877619ceecd4.tar.xz
forums-e35711ddde8f5e9f94d4b5145662877619ceecd4.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/9609] Change header() calls setting HTTP status to send_status_line(). [ticket/9613] Slightly update language strings. [ticket/9613] Fix missing database part for unread posts search load switch. [ticket/9613] Implement a load switch for unread posts search feature. [ticket/9785] Allow users to request new passwords when board is disabled. [ticket/9644] Check $mode before calling user_notification() from submit_post()
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 6a53213230..cbea0a1e77 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -2584,7 +2584,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
}
// Send Notifications
- if ($mode != 'edit' && $mode != 'delete' && $post_approval)
+ if (($mode == 'reply' || $mode == 'quote' || $mode == 'post') && $post_approval)
{
user_notification($mode, $subject, $data['topic_title'], $data['forum_name'], $data['forum_id'], $data['topic_id'], $data['post_id']);
}