Skip to content

Commit 5705440

Browse files
committed
Make sure both theme and request are correct
1 parent 0ceba64 commit 5705440

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Observer/RemoveLegacyHtmlBindings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct(
1818

1919
public function execute(Observer $observer): void
2020
{
21-
if (false === $this->themeConfig->modifyCurrentTheme() && false === $this->requestConfig->allowRoute()) {
21+
if (false === $this->themeConfig->modifyCurrentTheme() || false === $this->requestConfig->allowRoute()) {
2222
return;
2323
}
2424

0 commit comments

Comments
 (0)