aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba/dba_driver.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-05-17 11:24:27 +0200
committerMario Vavti <mario@mariovavti.com>2017-05-17 11:24:27 +0200
commita44c908147572646e84620a32e4ad6bf316d7147 (patch)
tree089ed32ff13fad36f73fe88ccd6cb4ce556498ba /include/dba/dba_driver.php
parent18ee1ba589994bcda211dcb75c667cadfcce0c7e (diff)
downloadvolse-hubzilla-a44c908147572646e84620a32e4ad6bf316d7147.tar.gz
volse-hubzilla-a44c908147572646e84620a32e4ad6bf316d7147.tar.bz2
volse-hubzilla-a44c908147572646e84620a32e4ad6bf316d7147.zip
silence php warning during install
Diffstat (limited to 'include/dba/dba_driver.php')
-rwxr-xr-xinclude/dba/dba_driver.php2
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;