aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-04-11 06:07:58 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-04-11 06:07:58 +0000
commit4feb08390cbd72224b5d8147ba274f0558b6cbb5 (patch)
tree374e078f16a7d6be0322f5e30d25747ac781bdde /phpBB/viewtopic.php
parent4f55c9fb81287f7790a471ff5bf318cb8189d59f (diff)
downloadforums-4feb08390cbd72224b5d8147ba274f0558b6cbb5.tar
forums-4feb08390cbd72224b5d8147ba274f0558b6cbb5.tar.gz
forums-4feb08390cbd72224b5d8147ba274f0558b6cbb5.tar.bz2
forums-4feb08390cbd72224b5d8147ba274f0558b6cbb5.tar.xz
forums-4feb08390cbd72224b5d8147ba274f0558b6cbb5.zip
re-use include...
git-svn-id: file:///svn/phpbb/trunk@3813 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 0ee15c0307..30325e5bd6 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -1156,13 +1156,11 @@ else
// so go ahead and reset post_attach flags
if ( (sizeof($attach_list)) && (count($attachments) == 0) )
{
- echo "DELETE THOSE STUFF";
-/*
$sql = "UPDATE " . POSTS_TABLE . "
SET post_attachment = 0
WHERE post_id IN (" . implode(', ', $attach_list) . ")";
$db->sql_query($sql);
-*/
+
// We need to update the topic indicator too if the
// complete topic is now without an attachment
}