Skip to content

Commit

Permalink
Fixed issue #19320: Error after accessing to response export view (#3683
Browse files Browse the repository at this point in the history
)

Co-authored-by: lapiudevgit <devgit@lapiu.biz>
  • Loading branch information
gabrieljenik and lapiudevgit committed Jan 30, 2024
1 parent 727b63e commit 9dc454b
Showing 1 changed file with 20 additions and 17 deletions.
Expand Up @@ -146,20 +146,23 @@
?>

<?php
if (isset($editorEnabled) && $editorEnabled && $editorUrl) {
$this->widget(
'ext.ButtonWidget.ButtonWidget',
[
'name' => 'editor-link-button',
'id' => 'editor-link-button',
'text' => gT('Open in new editor'),
'icon' => 'ri-article-line',
'link' => $editorUrl,
'htmlOptions' => [
'class' => 'btn btn-secondary',
'role' => 'button',
],
]
);
}
?>
if (!empty($editorEnabled) && !empty($editorUrl)) {
$this->widget(
'ext.ButtonWidget.ButtonWidget',
[
'name' => 'editor-link-button',
'id' => 'editor-link-button',
'text' => gT('Open in new Editor'),
'icon' => 'ri-article-line',
'link' => $editorUrl,
'htmlOptions' => [
'class' => 'btn btn-secondary',
'role' => 'button',
],
]
);
}
?>



0 comments on commit 9dc454b

Please sign in to comment.