1
0

Removed unnecessary braces around CASE ... END statement.

This commit is contained in:
Alexander Andreev 2023-05-06 22:22:40 +04:00
parent b9963c9521
commit 1c424e1ec9
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -3,11 +3,11 @@ SELECT
`entry`.`created`,
`entry`.`name`,
`entry`.`message`,
(CASE
CASE
WHEN `entry`.`hide_website` IS FALSE
THEN `entry`.`website`
ELSE ''
END) AS `website`,
END AS `website`,
`reply`.`created` AS `reply_created`,
`reply`.`message` AS `reply_message`
FROM `entry`