Code adjustments

This commit is contained in:
Tobias Reich 2014-04-10 22:42:24 +02:00
parent fe6d05425b
commit 54959803e7

View File

@ -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;
}