Skip to content

Commit 58bed41

Browse files
author
DenysTsymbal
committed
9253-json-file-error-gtm
1 parent 4644f7b commit 58bed41

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Controller/Adminhtml/Container/Generate.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ public function __construct(
103103
*/
104104
public function execute()
105105
{
106+
//clear echo current buffer
107+
if (function_exists('ob_get_clean')) {
108+
ob_get_clean();
109+
}
110+
106111
/** @var Redirect $resultRedirect */
107112
$resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
108113

0 commit comments

Comments
 (0)