From f2173d640164683fefac50d97dd0237a76f6a0b0 Mon Sep 17 00:00:00 2001 From: Aidan Saunders Date: Tue, 14 Nov 2017 15:18:11 +0000 Subject: [PATCH] Code improvement as per Eileen's comment --- CRM/Utils/System/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/System/Base.php b/CRM/Utils/System/Base.php index ef47412542..c2978ecf94 100644 --- a/CRM/Utils/System/Base.php +++ b/CRM/Utils/System/Base.php @@ -725,7 +725,7 @@ abstract class CRM_Utils_System_Base { $dateTime = new DateTime("now", $tzObj); $tz = $tzObj->getOffset($dateTime); - if ($tz == 0) { + if ($tz === 0) { // CRM-21422 return '+00:00'; } -- 2.25.1