mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-04 21:29:45 +02:00
use same egw_exception_db_connection instead of die, if no DB host set, so it can be cought
This commit is contained in:
@ -378,7 +378,7 @@ class egw_db
|
||||
}
|
||||
if (!isset($e))
|
||||
{
|
||||
die('No DB Host set!');
|
||||
$e = new egw_exception_db_connection('No DB host set!');
|
||||
}
|
||||
throw $e;
|
||||
}
|
||||
|
Reference in New Issue
Block a user