From f289a4ba332a8e9fbde37ee95182f0f825b24e32 Mon Sep 17 00:00:00 2001 From: Kenneth Ormandy Date: Fri, 8 Mar 2024 09:54:50 -0800 Subject: [PATCH] Fixes missing variable after 9a4bd8be8c0d7adb20a54a48808af6576cc14d3e --- src/controllers/SendoutsController.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/controllers/SendoutsController.php b/src/controllers/SendoutsController.php index d118773b..68a4e97c 100755 --- a/src/controllers/SendoutsController.php +++ b/src/controllers/SendoutsController.php @@ -214,10 +214,8 @@ public function actionPreview(int $sendoutId): Response 'testContactCriteria' => ['status' => ContactElement::STATUS_ACTIVE], 'testContacts' => $campaignType ? $campaignType->getTestContactsWithDefault() : [], 'actions' => [], - 'system' => [ - 'memoryLimit' => ini_get('memory_limit'), - 'timeLimit' => ini_get('max_execution_time'), - ], + 'memoryLimit' => ini_get('memory_limit'), + 'timeLimit' => ini_get('max_execution_time'), 'isDynamicWebAliasUsed' => SettingsHelper::isDynamicWebAliasUsed($sendout->siteId), 'getHtmlBodyActionUrl' => UrlHelper::actionUrl('campaign/sendouts/get-html-body'), 'sendTestActionUrl' => UrlHelper::actionUrl('campaign/sendouts/send-test'),