diff options
| author | 2013-03-14 20:10:15 +0100 | |
|---|---|---|
| committer | 2013-03-14 20:10:15 +0100 | |
| commit | 47196182e53ed25a73ba6e5129675df99df5b671 (patch) | |
| tree | 885ad6a5e80a5c76fc7b6fc6b23fbf27aedcdc47 /app/views | |
| parent | d2c20395c0aa74f2e1c039b56dfda618415be617 (diff) | |
Fix bug #25 mais le code ne me convient pas. Le bug #28 devra corriger ce soucis
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; |
