aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/Controllers/categoryController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/categoryController.php')
-rw-r--r--app/Controllers/categoryController.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Controllers/categoryController.php b/app/Controllers/categoryController.php
index 4d5c77596..181c4d811 100644
--- a/app/Controllers/categoryController.php
+++ b/app/Controllers/categoryController.php
@@ -100,6 +100,12 @@ class FreshRSS_category_Controller extends FreshRSS_ActionController {
FreshRSS_View::prependTitle($category->name() . ' · ' . _t('sub.title') . ' · ');
if (Minz_Request::isPost()) {
+ if (Minz_Request::paramBoolean('enable_read_when_same_title_in_category')) {
+ $category->_attribute('read_when_same_title_in_category', Minz_Request::paramInt('read_when_same_title_in_category'));
+ } else {
+ $category->_attribute('read_when_same_title_in_category', null);
+ }
+
$category->_filtersAction('read', Minz_Request::paramTextToArray('filteractions_read'));
if (Minz_Request::paramBoolean('use_default_purge_options')) {