Skip to content

Commit fa6891d

Browse files
committed
fix wrong column name
1 parent ac41f70 commit fa6891d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/lib/data/discord/bot/DiscordBot.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public static function findByFileID(int $fileID): ?DiscordBot
102102
$sql = "
103103
SELECT *
104104
FROM wcf1_discord_bot
105-
WHERE botID = ?
105+
WHERE webhookIconID = ?
106106
";
107107
$stmnt = WCF::getDB()->prepare($sql);
108108
$stmnt->execute([$fileID]);

0 commit comments

Comments
 (0)