CRM-18094 output queries for debugging using print_r rather than the crufty var_dump...
authoreileen <emcnaughton@wikimedia.org>
Tue, 23 Feb 2016 23:01:08 +0000 (12:01 +1300)
committereileen <emcnaughton@wikimedia.org>
Tue, 23 Feb 2016 23:05:04 +0000 (12:05 +1300)
CRM/Core/Error.php

index 387ba23999b4f8cfc55018644c309b5865935f06..91bbce21e4bb473bcb1daee87c69c5e2ec568f2c 100644 (file)
@@ -611,7 +611,7 @@ class CRM_Core_Error extends PEAR_ErrorStack {
         CRM_Core_Error::backtrace($string, TRUE);
       }
       elseif (CIVICRM_DEBUG_LOG_QUERY) {
-        CRM_Core_Error::debug_var('Query', $string, FALSE, TRUE);
+        CRM_Core_Error::debug_var('Query', $string, TRUE, TRUE);
       }
     }
   }