Fixed wrong version in error log
This commit is contained in:
parent
55b900686c
commit
7b2414695c
@ -10,7 +10,7 @@
|
|||||||
if (!$database->query("SELECT `checksum` FROM `lychee_photos` LIMIT 1;")) {
|
if (!$database->query("SELECT `checksum` FROM `lychee_photos` LIMIT 1;")) {
|
||||||
$result = $database->query("ALTER TABLE `lychee_photos` ADD `checksum` VARCHAR(100) DEFAULT NULL");
|
$result = $database->query("ALTER TABLE `lychee_photos` ADD `checksum` VARCHAR(100) DEFAULT NULL");
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
Log::error($database, 'update_020500', __LINE__, 'Could not update database (' . $database->error . ')');
|
Log::error($database, 'update_020505', __LINE__, 'Could not update database (' . $database->error . ')');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user