Ich habe foglend Mods in mein Forum eingebaut:
Attachment,Calendar,Birthday,Statistik,Rankin mod und Download.
wenn ich nun als Admin in einen Forum bin und möchte aus diesem Forum Topics in ein anderes verschieben so bekomme ich immer ein Fehler aus dem modcp.php das ein "}" in Zeile 276 zuviel wäre lösche ich es aber raus, so bekomme ich den Fehler das nachfolgende "IF" stimmit nicht wer kann mir hier helfen
Die betreffende Passage
Code: Alles auswählen
if ( $post_id_sql != '' )
{
$sql = "DELETE
FROM " . POSTS_TABLE . "
WHERE post_id IN ($post_id_sql)";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not delete posts', '', __LINE__, __FILE__, $sql);
}
$sql = "DELETE
FROM " . POSTS_TEXT_TABLE . "
WHERE post_id IN ($post_id_sql)";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not delete posts text', '', __LINE__, __FILE__, $sql);
}
remove_search_post($post_id_sql);delete_attachment(explode(', ', $post_id_sql))
} }
if ( $vote_id_sql != '' )
{
$sql = "DELETE
FROM " . VOTE_DESC_TABLE . "
WHERE vote_id IN ($vote_id_sql)";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not delete vote descriptions', '', __LINE__, __FILE__, $sql);
}
Modcp.txt