From 54959803e7c83328e09abe55b98bc5f04e4e874c Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Thu, 10 Apr 2014 22:42:24 +0200 Subject: [PATCH] Code adjustments --- php/database/update_020200.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/database/update_020200.php b/php/database/update_020200.php index 2efe761..1a6e36c 100644 --- a/php/database/update_020200.php +++ b/php/database/update_020200.php @@ -6,7 +6,7 @@ # @copyright 2014 by Tobias Reich ### -if(!$database->query("SELECT `visible` FROM `lychee_albums` LIMIT 1;")) { +if (!$database->query("SELECT `visible` FROM `lychee_albums` LIMIT 1;")) { $result = $database->query("ALTER TABLE `lychee_albums` ADD `visible` TINYINT(1) NOT NULL DEFAULT 1"); if (!$result) return false; }