Skip to content

Commit

Permalink
Dev Fixed warning in export responses screen
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jan 25, 2024
1 parent dc6b982 commit 2412205
Showing 1 changed file with 17 additions and 19 deletions.
Expand Up @@ -146,22 +146,20 @@
?>

<?php
if ($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 (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',
],
]
);
}
?>

0 comments on commit 2412205

Please sign in to comment.