From 7e7d0323811e1c1c9784351dc7f9a4ccfc07d137 Mon Sep 17 00:00:00 2001 From: eileen Date: Wed, 24 Feb 2016 11:57:10 +1300 Subject: [PATCH] CRM-18091 disambiguate TRUE as not meaning 'backtrace' --- CRM/Core/Error.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index 387ba23999..572b02a130 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -607,7 +607,7 @@ class CRM_Core_Error extends PEAR_ErrorStack { */ public static function debug_query($string) { if (defined('CIVICRM_DEBUG_LOG_QUERY')) { - if (CIVICRM_DEBUG_LOG_QUERY == 'backtrace') { + if (CIVICRM_DEBUG_LOG_QUERY === 'backtrace') { CRM_Core_Error::backtrace($string, TRUE); } elseif (CIVICRM_DEBUG_LOG_QUERY) { -- 2.25.1