Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Fixed deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
David Yell committed Apr 20, 2018
1 parent e0d07c4 commit c9358fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/SeoComponent.php
Expand Up @@ -59,7 +59,7 @@ public function initialize(array $config): void
{
$this->_controller = $this->_registry->getController();

if (!in_array($this->_controller->request->prefix, $this->getConfig('noSeoPrefix'))) {
if (!in_array($this->_controller->request->getParam('prefix'), $this->getConfig('noSeoPrefix'))) {
$this->_controller->getEventManager()->on($this);
}
}
Expand Down

0 comments on commit c9358fb

Please sign in to comment.