Compare commits
3 Commits
2ea286fa7b
...
317d2898b9
Author | SHA1 | Date |
---|---|---|
buttle | 317d2898b9 | |
buttle | 9d992658d9 | |
buttle | 82d895d7e7 |
|
@ -119,6 +119,9 @@ class ArchiveSiteMetaViewHelper extends AbstractHelper
|
||||||
$view = $this->getView();
|
$view = $this->getView();
|
||||||
return isset($view->site)
|
return isset($view->site)
|
||||||
? $view->site
|
? $view->site
|
||||||
: $view->getHelperPluginManager()->get('Laminas\View\Helper\ViewModel')->getRoot()->getVariable('site');
|
: $view->getHelperPluginManager()
|
||||||
|
->get('Laminas\View\Helper\ViewModel')
|
||||||
|
->getRoot()
|
||||||
|
->getVariable('site');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue