aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-02-17 05:20:29 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-02-17 05:20:29 +0000
commit0af3306ee40810029d1b83a35f229661dc1bfe7a (patch)
treebda6d6190eef30409b7e28b7d48820e4ac1c60ee /phpBB/includes/functions_admin.php
parent603227a02fb0ca3de361afcc44a52820b6405a7b (diff)
downloadforums-0af3306ee40810029d1b83a35f229661dc1bfe7a.tar
forums-0af3306ee40810029d1b83a35f229661dc1bfe7a.tar.gz
forums-0af3306ee40810029d1b83a35f229661dc1bfe7a.tar.bz2
forums-0af3306ee40810029d1b83a35f229661dc1bfe7a.tar.xz
forums-0af3306ee40810029d1b83a35f229661dc1bfe7a.zip
nice...
git-svn-id: file:///svn/phpbb/trunk@7001 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index a3e5a2c685..53f6fb926a 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -530,7 +530,7 @@ function delete_topics($where_type, $where_ids, $auto_sync = true, $post_count_s
$sql = 'SELECT topic_id, forum_id, topic_approved
FROM ' . TOPICS_TABLE . '
- WHERE ' . ;
+ WHERE ' . $where_clause;
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))
@@ -611,7 +611,7 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync =
return false;
}
- $where_clause = $db->sql_in_set($where_type, array_map('intval', $where_ids);
+ $where_clause = $db->sql_in_set($where_type, array_map('intval', $where_ids));
}
$approved_posts = 0;
@@ -619,7 +619,7 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync =
$sql = 'SELECT post_id, poster_id, post_approved, post_postcount, topic_id, forum_id
FROM ' . POSTS_TABLE . '
- WHERE ' . $where_clause);
+ WHERE ' . $where_clause;
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))