Fixed wrong version in database update error
This commit is contained in:
parent
82ab9a7167
commit
b458ff2a85
@ -35,7 +35,7 @@ if ($result->num_rows===0) {
|
|||||||
$query = Database::prepare($database, "INSERT INTO `?` (`key`, `value`) VALUES ('imagick', '1')", array(LYCHEE_TABLE_SETTINGS));
|
$query = Database::prepare($database, "INSERT INTO `?` (`key`, `value`) VALUES ('imagick', '1')", array(LYCHEE_TABLE_SETTINGS));
|
||||||
$result = $database->query($query);
|
$result = $database->query($query);
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
Log::error($database, 'update_020100', __LINE__, 'Could not update database (' . $database->error . ')');
|
Log::error($database, 'update_020602', __LINE__, 'Could not update database (' . $database->error . ')');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user