Commit 8aa7b5f6 authored by Lisa Seeto's avatar Lisa Seeto Committed by Robert Lyon
Browse files

Bug 1898003: 1 page collection export preview producing warning



 - remove if count of collection > 1 condition (one page collections exist)

Change-Id: I4d6866781a5864640230a8e776288edc3e7ffb18
Signed-off-by: default avatarLisa Seeto <lisaseeto@catalyst.net.nz>
(cherry picked from commit f1f33d53)
parent ce32afec
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -44,11 +44,9 @@ $smarty->assign('tags', $alltags);
$shownav = $collection->get('navigation');
if ($shownav) {
    if ($views = $collection->get('views')) {
        if (count($views['views']) > 1) {
        $smarty->assign('collection', $views['views']);
    }
}
}

$html = $smarty->fetch('collection/viewcontent.tpl');