diff options
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/index/index.phtml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml index 6ecbfd72f..7733c6313 100644 --- a/app/views/index/index.phtml +++ b/app/views/index/index.phtml @@ -1,6 +1,5 @@ <?php $this->partial ('aside_flux'); ?> -<?php $items = $this->entryPaginator->items (true); ?> <div class="nav_menu"> <a class="btn" href="<?php echo Url::display (array ('c' => 'feed', 'a' => 'actualize')); ?>"><i class="icon refresh"></i></a> @@ -13,8 +12,10 @@ <?php } ?> </div> -<?php if (!empty ($items)) { ?> - +<?php +if (isset ($this->entryPaginator)) { + $items = $this->entryPaginator->items (true); +?> <div id="stream"> <?php $display_today = true; |
