From cf745554fb84ef0dcef863c7b1422aa698e48de8 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Mon, 16 May 2022 18:04:29 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B04985=20-=20PHP=208.0:=20Fix=20strlen()?= =?UTF-8?q?=20test=20condition=20that=20needs=20to=20be=20more=20strict?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/action.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/action.class.inc.php b/core/action.class.inc.php index 5bb64979b..16754df99 100644 --- a/core/action.class.inc.php +++ b/core/action.class.inc.php @@ -179,7 +179,7 @@ class ActionEmail extends ActionNotification protected function FindRecipients($sRecipAttCode, $aArgs) { $sOQL = $this->Get($sRecipAttCode); - if (strlen($sOQL) == '') return ''; + if (strlen($sOQL) === 0) return ''; try {