aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/subscriptionController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-12-01 22:12:42 +0100
committerGravatar GitHub <noreply@github.com> 2018-12-01 22:12:42 +0100
commit7cbfdb4e0932230742060b1d04e86f221a7cb10d (patch)
treef5b6db8d34e9d1706ebb967fb6da026390ac488e /app/Controllers/subscriptionController.php
parente43abad50c400a590f310934c7490071ae820734 (diff)
Filter feeds in error (#2160)
https://github.com/FreshRSS/FreshRSS/issues/2146
Diffstat (limited to 'app/Controllers/subscriptionController.php')
-rw-r--r--app/Controllers/subscriptionController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php
index 0b1439ba5..46503fc19 100644
--- a/app/Controllers/subscriptionController.php
+++ b/app/Controllers/subscriptionController.php
@@ -33,6 +33,8 @@ class FreshRSS_subscription_Controller extends Minz_ActionController {
@filemtime(PUBLIC_PATH . '/scripts/category.js')));
Minz_View::prependTitle(_t('sub.title') . ' ยท ');
+ $this->view->onlyFeedsWithError = Minz_Request::paramTernary('error');
+
$id = Minz_Request::param('id');
if ($id !== false) {
$feedDAO = FreshRSS_Factory::createFeedDao();