Fix PHP notice on feed_items page

This commit is contained in:
Frederic Guillot 2016-02-28 14:47:05 -05:00
parent 2f06e6a346
commit 07bd5191e5
2 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,7 @@ Router\get_action('feed-items', function() {
'nb_unread_items' => Model\Item\count_by_status('unread'), 'nb_unread_items' => Model\Item\count_by_status('unread'),
'offset' => $offset, 'offset' => $offset,
'items_per_page' => Model\Config\get('items_per_page'), 'items_per_page' => Model\Config\get('items_per_page'),
'item_title_link' => Model\Config\get('item_title_link'),
'menu' => 'feed-items', 'menu' => 'feed-items',
'title' => '('.$nb_items.') '.$feed['title'] 'title' => '('.$nb_items.') '.$feed['title']
))); )));

View File

@ -36,6 +36,7 @@
'display_mode' => $display_mode, 'display_mode' => $display_mode,
'favicons' => $favicons, 'favicons' => $favicons,
'original_marks_read' => $original_marks_read, 'original_marks_read' => $original_marks_read,
'item_title_link' => $item_title_link,
)) ?> )) ?>
<?php endforeach ?> <?php endforeach ?>