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`.`created`,
`entry`.`name`, `entry`.`name`,
`entry`.`message`, `entry`.`message`,
(CASE CASE
WHEN `entry`.`hide_website` IS FALSE WHEN `entry`.`hide_website` IS FALSE
THEN `entry`.`website` THEN `entry`.`website`
ELSE '' ELSE ''
END) AS `website`, END AS `website`,
`reply`.`created` AS `reply_created`, `reply`.`created` AS `reply_created`,
`reply`.`message` AS `reply_message` `reply`.`message` AS `reply_message`
FROM `entry` FROM `entry`