database is always set at startup
This commit is contained in:
parent
e960f73fb6
commit
fdb26afc1b
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ try {
|
|||
}
|
||||
$exit_code = 0;
|
||||
} catch (\Exception $e) {
|
||||
if ($database && $database->is_transaction_open()) {
|
||||
if ($database->is_transaction_open()) {
|
||||
$database->rollback();
|
||||
}
|
||||
_fatal_error($e);
|
||||
|
|
Reference in a new issue