mirror of
https://github.com/standardebooks/web.git
synced 2025-07-07 15:20:32 -04:00
Force definition of template variable in ebook grid template
This commit is contained in:
parent
5c24095e7d
commit
421bb335bc
1 changed files with 4 additions and 0 deletions
|
@ -4,6 +4,10 @@ if($view == ''){
|
|||
$view = VIEW_GRID;
|
||||
}
|
||||
|
||||
if(!isset($collection)){
|
||||
$collection = null;
|
||||
}
|
||||
|
||||
if(!isset($ebooks)){
|
||||
$ebooks = [];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue