From: eileen Date: Tue, 23 Feb 2016 22:57:10 +0000 (+1300) Subject: CRM-18091 disambiguate TRUE as not meaning 'backtrace' X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7e7d0323811e1c1c9784351dc7f9a4ccfc07d137;p=civicrm-core.git CRM-18091 disambiguate TRUE as not meaning 'backtrace' --- 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) {