Commit b8aae07c authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen
Browse files

Merge branch...

Merge branch '241-getting-error-while-visiting-extension-fluid-from-dependencies-list' into 'develop'

Resolve "Getting error while visiting extension 'fluid' from 'Dependencies' list"

Closes #241

See merge request !220
parents 476515b7 1068465a
Pipeline #2299 passed with stages
in 1 minute and 23 seconds
......@@ -200,7 +200,10 @@ class ExtensionController extends \T3o\TerFe2\Controller\AbstractController
$versionHistoryCount = (!empty($this->settings['versionHistoryCount']) ? $this->settings['versionHistoryCount'] : 5);
$skipLatestVersion = (isset($this->settings['skipLatestVersion']) ? $this->settings['skipLatestVersion'] : true);
if ($extension !== null && $extension instanceof \T3o\TerFe2\Domain\Model\Extension) {
if ($extension !== null
&& $extension instanceof \T3o\TerFe2\Domain\Model\Extension
&& $extension->getLastVersion() instanceof \T3o\TerFe2\Domain\Model\Version
) {
$versionHistory = $this->versionRepository->getVersionHistory($extension, $versionHistoryCount, $skipLatestVersion);
$this->view->assign('owner', $owner);
$this->view->assign('extension', $extension);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment