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