mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 21:34:35 -04:00
Improve compatibility PHP 5.3
This commit is contained in:
@@ -368,9 +368,10 @@ class FreshRSS_importExport_Controller extends Minz_ActionController {
|
||||
if ($type == 'starred') {
|
||||
$this->view->list_title = Minz_Translate::t('starred_list');
|
||||
$this->view->type = 'starred';
|
||||
$unread_fav = $this->entryDAO->countUnreadReadFavorites();
|
||||
$this->view->entries = $this->entryDAO->listWhere(
|
||||
's', '', 'all', 'ASC',
|
||||
$this->entryDAO->countUnreadReadFavorites()['all']
|
||||
$unread_fav['all']
|
||||
);
|
||||
} elseif ($type == 'feed' && !is_null($feed)) {
|
||||
$this->view->list_title = Minz_Translate::t(
|
||||
|
||||
Reference in New Issue
Block a user