N°4985 - PHP 8.0: Fix strlen() test condition that needs to be more strict

This commit is contained in:
Molkobain
2022-05-16 18:04:29 +02:00
parent e909eac98e
commit cf745554fb

View File

@@ -179,7 +179,7 @@ class ActionEmail extends ActionNotification
protected function FindRecipients($sRecipAttCode, $aArgs) protected function FindRecipients($sRecipAttCode, $aArgs)
{ {
$sOQL = $this->Get($sRecipAttCode); $sOQL = $this->Get($sRecipAttCode);
if (strlen($sOQL) == '') return ''; if (strlen($sOQL) === 0) return '';
try try
{ {