Skip to content

Commit 05976fb

Browse files
committed
Refactor.
1 parent f8b7465 commit 05976fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Web.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: Upload handler (last modified: 2022.02.13).
11+
* This file: Upload handler (last modified: 2022.06.19).
1212
*/
1313

1414
namespace phpMussel\Web;
@@ -400,7 +400,7 @@ public function scan()
400400

401401
/** Process recipients. */
402402
foreach (explode(',', $this->Loader->InstanceCache['enable_notifications']) as $Recipient) {
403-
if (!strlen($Recipient)) {
403+
if ($Recipient === '') {
404404
continue;
405405
}
406406
if (preg_match('~^[^<>]+ <[^<>]+>$~', $Recipient)) {

0 commit comments

Comments
 (0)