From 1c424e1ec945324abfd1aa2d6927dfb1186b6b53 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 6 May 2023 22:22:40 +0400 Subject: [PATCH] Removed unnecessary braces around CASE ... END statement. --- database/sqlite/queries/entryGetAll.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/sqlite/queries/entryGetAll.sql b/database/sqlite/queries/entryGetAll.sql index bf73ebb..2868860 100644 --- a/database/sqlite/queries/entryGetAll.sql +++ b/database/sqlite/queries/entryGetAll.sql @@ -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`