From: eileen Date: Tue, 23 Feb 2016 23:01:08 +0000 (+1300) Subject: CRM-18094 output queries for debugging using print_r rather than the crufty var_dump... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=006f1367141521485130814ba6f89edc4ed8d803;p=civicrm-core.git CRM-18094 output queries for debugging using print_r rather than the crufty var_dump routine. --- diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index 387ba23999..91bbce21e4 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -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); } } }