mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
fixed tiny bugs
git-svn-id: file:///svn/phpbb/trunk@5711 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1300,13 +1300,13 @@ class acp_forums
|
||||
POLL_VOTES_TABLE => 'pv.topic_id',
|
||||
);
|
||||
|
||||
$sql = 'DELETE ' . POSTS_TABLE . ' p';
|
||||
$sql = 'DELETE ';
|
||||
$sql_using = "\nFROM " . POSTS_TABLE . ' p';
|
||||
$sql_where = "\nWHERE p.forum_id = $forum_id\n";
|
||||
|
||||
foreach ($tables_ary as $table => $field)
|
||||
{
|
||||
$sql .= ", $table " . strtok($field, '.');
|
||||
// $sql .= ", $table " . strtok($field, '.');
|
||||
$sql_using .= ", $table " . strtok($field, '.');
|
||||
$sql_where .= "\nAND $field = p." . strtok('');
|
||||
}
|
||||
|
Reference in New Issue
Block a user