1
0
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:
Meik Sievertsen
2006-03-25 13:05:28 +00:00
parent f49a8147b7
commit 7f497764e1
4 changed files with 11 additions and 11 deletions

View File

@@ -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('');
}