From 4feb08390cbd72224b5d8147ba274f0558b6cbb5 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 11 Apr 2003 06:07:58 +0000 Subject: re-use include... git-svn-id: file:///svn/phpbb/trunk@3813 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/viewtopic.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'phpBB/viewtopic.php') 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 } -- cgit v1.2.1