diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index f38bb3e4ff..3a01329090 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -220,6 +220,7 @@
[Change] Parse multiline url title for [url] BBCode tag. (Bug #1309)
[Change] Introduce new parameter to page_header() for forum specific who is online listings.
[Change] Lifted minimum requirement for Firebird DBMS from 2.0+ to 2.1+.
+ [Change] Unapproved topics can no longer be replied to (Bug #44005)
[Feature] Add language selection on the registration terms page (Bug #15085 - Patch by leviatan21)
[Feature] Backported 3.2 captcha plugins.
diff --git a/phpBB/posting.php b/phpBB/posting.php
index a175ebba51..7377cda8ea 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -95,7 +95,8 @@ switch ($mode)
FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f
WHERE t.topic_id = $topic_id
AND (f.forum_id = t.forum_id
- OR f.forum_id = $forum_id)";
+ OR f.forum_id = $forum_id)
+ AND t.topic_approved = 1";
break;
case 'quote':
@@ -124,7 +125,7 @@ switch ($mode)
AND u.user_id = p.poster_id
AND (f.forum_id = t.forum_id
OR f.forum_id = $forum_id)" .
- (($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND p.post_approved = 1');
+ (($auth->acl_get('m_approve', $forum_id) && $mode != 'quote') ? '' : 'AND p.post_approved = 1');
break;
case 'smilies':