aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-10-08 23:09:12 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-10-08 23:09:31 +0200
commite447a0fa0797440688335bc0dc18c8a73b5586ec (patch)
treebffb156859d1efb5ed6cb04a3fa5b51ebcf8ede3 /phpBB/includes/functions_posting.php
parent53e01bba19784b0fb36324c10c010f969f05d253 (diff)
downloadforums-e447a0fa0797440688335bc0dc18c8a73b5586ec.tar
forums-e447a0fa0797440688335bc0dc18c8a73b5586ec.tar.gz
forums-e447a0fa0797440688335bc0dc18c8a73b5586ec.tar.bz2
forums-e447a0fa0797440688335bc0dc18c8a73b5586ec.tar.xz
forums-e447a0fa0797440688335bc0dc18c8a73b5586ec.zip
[feature/soft-delete] Fix restoring a post via editing
PHPBB3-9567
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 250d20b005..6d74c6b2d7 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1481,7 +1481,7 @@ function delete_post($forum_id, $topic_id, $post_id, &$data, $is_soft = false, $
$db->sql_transaction('commit');
// Collect the necessary information for updating the tables
- $sql_data[FORUMS_TABLE] = '';
+ $sql_data[FORUMS_TABLE] = $sql_data[TOPICS_TABLE] = '';
switch ($post_mode)
{
case 'delete_topic':