Hallo,
wenn ich versuche, ein leeres Board (also eines ohne Kategorien darunter) zu löschen, erhalte ich folgende Fehlermeldung:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3
Datei: /srv/www/htdocs/web78/html/forum/Sources/Subs-Boards.php
Zeile: 1190
Der betreffende Codeblock schaut so aus (Zeile 1190 ist die letzte davon):
// Delete ALL topics in the selected boards. (done first so topics can't be marooned.)
$request = db_query("
SELECT ID_TOPIC
FROM {$db_prefix}topics
WHERE ID_BOARD IN (" . implode(', ', $boards_to_remove) . ')', __FILE__, __LINE__);
Kann mir jemand sagen, wie der richtige Code aussehen müsste? Kenne mich mit PHP so gar nicht aus...
Danke im voraus!
Siehe hier: http://www.simplemachines.org/community/index.php?topic=51552.msg365900#msg365900
Dies sollte das Problem lösen.
lg
noex
Ohja, danke! :-[