aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-14 16:56:30 -0700
committerzotlabs <mike@macgirvin.com>2018-04-14 16:56:30 -0700
commit518db97962c52e9d6dfb5638647eb48ab55c354f (patch)
tree70c048fea5de26f58cf61d12786122d974cb767f
parentfdf5799857d2f92f6ec7658d271fd3aab22768d5 (diff)
downloadvolse-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-xinclude/dba/dba_pdo.php2
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);
}
}