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:24:27 +0200 |
commit | a44c908147572646e84620a32e4ad6bf316d7147 (patch) | |
tree | 089ed32ff13fad36f73fe88ccd6cb4ce556498ba /include/dba | |
parent | 18ee1ba589994bcda211dcb75c667cadfcce0c7e (diff) | |
download | volse-hubzilla-a44c908147572646e84620a32e4ad6bf316d7147.tar.gz volse-hubzilla-a44c908147572646e84620a32e4ad6bf316d7147.tar.bz2 volse-hubzilla-a44c908147572646e84620a32e4ad6bf316d7147.zip |
silence php warning during install
Diffstat (limited to 'include/dba')
-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; |