mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Fixed little bug causing parse error
git-svn-id: file:///svn/phpbb/trunk@892 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ab55f28b81
commit
cc5c71851d
1 changed files with 3 additions and 3 deletions
|
@ -179,7 +179,7 @@ switch($mode)
|
||||||
}
|
}
|
||||||
$sql .= "topic_id = ".$topics[$x];
|
$sql .= "topic_id = ".$topics[$x];
|
||||||
$delete_topics .= "topic_id = ".$topics[$x];
|
$delete_topics .= "topic_id = ".$topics[$x];
|
||||||
$moved_topics .= "topic_moved_id = ".$topics[$x];
|
$moved_topics .= "topic_moved_id = ".$topics[$x];
|
||||||
}
|
}
|
||||||
$topics_removed = $x;
|
$topics_removed = $x;
|
||||||
|
|
||||||
|
@ -220,9 +220,9 @@ switch($mode)
|
||||||
|
|
||||||
if(!$result = $db->sql_query($moved_topics))
|
if(!$result = $db->sql_query($moved_topics))
|
||||||
{
|
{
|
||||||
message_die(GENERAL_ERRORm "Could not delete moved topics!", "Error", __LINE__, __FILE__, $moved_topics);
|
message_die(GENERAL_ERROR, "Could not delete moved topics!", "Error", __LINE__, __FILE__, $moved_topics);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(SQL_LAYER != "mysql")
|
if(SQL_LAYER != "mysql")
|
||||||
{
|
{
|
||||||
$update_index = "UPDATE ".FORUMS_TABLE."
|
$update_index = "UPDATE ".FORUMS_TABLE."
|
||||||
|
|
Loading…
Add table
Reference in a new issue