Skip to content

Commit 51c849f

Browse files
authored
Update YformButton.php
1 parent 0a8b2f9 commit 51c849f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/QuickNavigation/Button/YformButton.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function get(): string
2121
{
2222
$yform = rex_addon::get('yform');
2323
if (version_compare($yform->getVersion(), '5.0.0', '<')) {
24-
if (!$yform->isAvailable() || !rex_plugin::get('yform', 'manager')->isAvailable()) {
24+
if (!$yform->isAvailable() && !rex_plugin::get('yform', 'manager')->isAvailable()) {
2525
return '';
2626
}
2727
}

0 commit comments

Comments
 (0)