From 6a04503c7e6e6f249748df58d5d112750b856879 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 10 Dec 2023 14:05:11 +0100 Subject: Fix read_when_same_title_in_feed (#5937) fix https://github.com/FreshRSS/FreshRSS/issues/5936 --- app/Controllers/configureController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Controllers') diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index 5a5128346..bca47319e 100644 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -136,8 +136,8 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController { 'gone' => Minz_Request::paramBoolean('read_upon_gone'), 'max_n_unread' => Minz_Request::paramBoolean('enable_keep_max_n_unread') ? Minz_Request::paramInt('keep_max_n_unread') : false, 'reception' => Minz_Request::paramBoolean('mark_upon_reception'), - 'same_title_in_feed' => - Minz_Request::paramBoolean('enable_read_when_same_title_in_feed') && Minz_Request::paramBoolean('read_when_same_title_in_feed'), + 'same_title_in_feed' => Minz_Request::paramBoolean('enable_read_when_same_title_in_feed') ? + Minz_Request::paramInt('read_when_same_title_in_feed') : false, 'scroll' => Minz_Request::paramBoolean('mark_scroll'), 'site' => Minz_Request::paramBoolean('mark_open_site'), 'focus' => Minz_Request::paramBoolean('mark_focus'), -- cgit v1.2.3