diff --git a/inside/Page.php b/inside/Page.php index 56ab53d..52ba67e 100644 --- a/inside/Page.php +++ b/inside/Page.php @@ -1614,14 +1614,14 @@ Teksten under er hentet fra kunnskapsdatabasen. Du st $form = new Form($title, $enctype, $method, $action, $fields); $form->display("horizontal"); - if ($current >= 0){ - $documents = new Documents(); - $documents->displayList($current); - } if (!empty($currentTag)){ $documents = new Documents(); $documents->displayListTag($currentTag); } + else if ($current >= 0){ + $documents = new Documents(); + $documents->displayList($current); + } }