diff options
author | zotlabs <mike@macgirvin.com> | 2018-04-14 16:56:30 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-04-14 16:56:30 -0700 |
commit | 518db97962c52e9d6dfb5638647eb48ab55c354f (patch) | |
tree | 70c048fea5de26f58cf61d12786122d974cb767f | |
parent | fdf5799857d2f92f6ec7658d271fd3aab22768d5 (diff) | |
download | volse-hubzilla-518db97962c52e9d6dfb5638647eb48ab55c354f.tar.gz volse-hubzilla-518db97962c52e9d6dfb5638647eb48ab55c354f.tar.bz2 volse-hubzilla-518db97962c52e9d6dfb5638647eb48ab55c354f.zip |
never mind. dbg(1) now gives you the basic debug result and dbg(2) gives you the verbose debug option with all the results.
-rwxr-xr-x | include/dba/dba_pdo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dba/dba_pdo.php b/include/dba/dba_pdo.php index 9321fddd6..5002f53e7 100755 --- a/include/dba/dba_pdo.php +++ b/include/dba/dba_pdo.php @@ -100,7 +100,7 @@ class dba_pdo extends dba_driver { if($this->debug) { db_logger('dba_pdo: DEBUG: ' . printable($sql) . ' returned ' . count($r) . ' results.', LOGGER_NORMAL, LOG_INFO); - if(intval($this->debug) === 1) { + if(intval($this->debug) > 1) { db_logger('dba_pdo: ' . printable(print_r($r,true)), LOGGER_NORMAL, LOG_INFO); } } |