diff --git a/templates/EbookGrid.php b/templates/EbookGrid.php index 8ff8644b..a1c05263 100644 --- a/templates/EbookGrid.php +++ b/templates/EbookGrid.php @@ -4,6 +4,10 @@ if($view == ''){ $view = VIEW_GRID; } +if(!isset($collection)){ + $collection = null; +} + if(!isset($ebooks)){ $ebooks = []; }