Removed unnecessary braces around CASE ... END statement.
This commit is contained in:
parent
b9963c9521
commit
1c424e1ec9
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user