diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-05-17 11:24:27 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-05-17 11:27:32 +0200 |
commit | 005db13c4588924aeeff62f2534c0088a6616865 (patch) | |
tree | efa1b73bfe4852a998e691bdd6f568d97345803a | |
parent | d7ddafb39f3edbc40887f717ba28d2d05e16ff77 (diff) | |
download | volse-hubzilla-005db13c4588924aeeff62f2534c0088a6616865.tar.gz volse-hubzilla-005db13c4588924aeeff62f2534c0088a6616865.tar.bz2 volse-hubzilla-005db13c4588924aeeff62f2534c0088a6616865.zip |
silence php warning during install
-rwxr-xr-x | include/dba/dba_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php index ad1d9d194..d362f58b2 100755 --- a/include/dba/dba_driver.php +++ b/include/dba/dba_driver.php @@ -452,7 +452,7 @@ function db_getfunc($f) { function db_logger($s,$level = LOGGER_NORMAL,$syslog = LOG_INFO) { - if(\DBA::$logging) + if(\DBA::$logging || ! \DBA::$dba) return; $saved = \DBA::$dba->debug; |