Commit 5be51012 authored by tbrehm's avatar tbrehm

Fixed: FS#2360 - problem after deleting server in database

parent 7762fb55
......@@ -42,7 +42,9 @@ $conf['server_id'] = intval($conf['server_id']);
*/
if ($app->dbmaster->connect_error == NULL) {
$server_db_record = $app->dbmaster->queryOneRecord("SELECT * FROM server WHERE server_id = " . $conf['server_id']);
if(!is_array($server_db_record)) die('Unable to load the server configuration from database.');
$conf['last_datalog_id'] = (int) $server_db_record['updated'];
$conf['mirror_server_id'] = (int) $server_db_record['mirror_server_id'];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment