diff --git a/code/controllers/DocumentationViewer.php b/code/controllers/DocumentationViewer.php index 790db75..c14b7a0 100755 --- a/code/controllers/DocumentationViewer.php +++ b/code/controllers/DocumentationViewer.php @@ -344,6 +344,8 @@ class DocumentationViewer extends Controller { $currentVersion = $this->getVersion(); foreach($versions as $key => $version) { + if(!$version) continue; + $linkingMode = ($currentVersion == $version) ? 'current' : 'link'; $output->push(new ArrayData(array(