From 518db97962c52e9d6dfb5638647eb48ab55c354f Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sat, 14 Apr 2018 16:56:30 -0700 Subject: never mind. dbg(1) now gives you the basic debug result and dbg(2) gives you the verbose debug option with all the results. --- include/dba/dba_pdo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3