aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-05-09 18:43:16 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-05-09 18:43:16 +0000
commit5a866d524925fcf68c13ea7dd29f95fa40d5e218 (patch)
tree9ae0047d854cdee37e9fac161ba14cc3f03ec71e /phpBB/includes
parent08f98034570dd480c83d31c3c0b2a80539f27b97 (diff)
downloadforums-5a866d524925fcf68c13ea7dd29f95fa40d5e218.tar
forums-5a866d524925fcf68c13ea7dd29f95fa40d5e218.tar.gz
forums-5a866d524925fcf68c13ea7dd29f95fa40d5e218.tar.bz2
forums-5a866d524925fcf68c13ea7dd29f95fa40d5e218.tar.xz
forums-5a866d524925fcf68c13ea7dd29f95fa40d5e218.zip
remove useless variable that caused some undefined errors
git-svn-id: file:///svn/phpbb/trunk@7518 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions_posting.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index c266870b87..20b624ef2b 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -131,8 +131,7 @@ function update_post_information($type, $ids, $return_update_sql = false)
FROM ' . POSTS_TABLE . " p $topic_join
WHERE " . $db->sql_in_set('p.' . $type . '_id', $ids) . "
$topic_condition
- AND p.post_approved = 1
- $min_post_id_sql";
+ AND p.post_approved = 1";
}
else
{
@@ -141,7 +140,6 @@ function update_post_information($type, $ids, $return_update_sql = false)
WHERE " . $db->sql_in_set('p.' . $type . '_id', $ids) . "
$topic_condition
AND p.post_approved = 1
- $min_post_id_sql
GROUP BY p.{$type}_id";
}
$result = $db->sql_query($sql);