mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4985 - PHP 8.0: Fix strlen() test condition that needs to be more strict
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user