Browse Source

Fixed wrong version in database update error

Tobias Reich 9 years ago
parent
commit
b458ff2a85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/database/update_020602.php

+ 1 - 1
php/database/update_020602.php

@@ -35,7 +35,7 @@ if ($result->num_rows===0) {
 	$query	= Database::prepare($database, "INSERT INTO `?` (`key`, `value`) VALUES ('imagick', '1')", array(LYCHEE_TABLE_SETTINGS));
 	$result	= $database->query($query);
 	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;
 	}
 }