fix logic and tests, update docker CI file
This commit is contained in:
@@ -6,7 +6,7 @@ class BroadcastEmailSenderOptionsService
|
||||
{
|
||||
public function listOptions(): array
|
||||
{
|
||||
$json = env('MAIL_SENDERS', '{}');
|
||||
$json = getenv('MAIL_SENDERS') ?: env('MAIL_SENDERS', '{}');
|
||||
$arr = json_decode($json, true);
|
||||
|
||||
if (!is_array($arr) || empty($arr)) {
|
||||
|
||||
Reference in New Issue
Block a user