From b9e02cf7a53acb5e106135b4bfedb0578d722f64 Mon Sep 17 00:00:00 2001 From: David Remer Date: Wed, 8 Jun 2022 11:58:38 +0300 Subject: [PATCH] Fix consumer after change of authorizedEmails signature change [MAILPOET-4253] --- mailpoet/lib/Services/AuthorizedEmailsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailpoet/lib/Services/AuthorizedEmailsController.php b/mailpoet/lib/Services/AuthorizedEmailsController.php index fc49477b77..450f1886a6 100644 --- a/mailpoet/lib/Services/AuthorizedEmailsController.php +++ b/mailpoet/lib/Services/AuthorizedEmailsController.php @@ -67,7 +67,7 @@ class AuthorizedEmailsController { $authorizedEmails = $this->bridge->getAuthorizedEmailAddresses(); // Keep previous check result for an invalid response from API - if ($authorizedEmails === false) { + if (!$authorizedEmails) { return null; } $authorizedEmails = array_map('strtolower', $authorizedEmails);