Force definition of template variable in ebook grid template

This commit is contained in:
Alex Cabal 2020-12-29 19:13:15 -06:00
parent 5c24095e7d
commit 421bb335bc

View file

@ -4,6 +4,10 @@ if($view == ''){
$view = VIEW_GRID;
}
if(!isset($collection)){
$collection = null;
}
if(!isset($ebooks)){
$ebooks = [];
}