Code adjustments
This commit is contained in:
parent
fe6d05425b
commit
54959803e7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user