diff options
| author | 2023-12-10 14:05:11 +0100 | |
|---|---|---|
| committer | 2023-12-10 14:05:11 +0100 | |
| commit | 6a04503c7e6e6f249748df58d5d112750b856879 (patch) | |
| tree | abbbb170de768ebe209700d978c692074d707930 /app/Controllers/configureController.php | |
| parent | ea6b8b7c6f2eb84c60a3e5f36d0581f54da08b80 (diff) | |
Fix read_when_same_title_in_feed (#5937)
fix https://github.com/FreshRSS/FreshRSS/issues/5936
Diffstat (limited to 'app/Controllers/configureController.php')
| -rw-r--r-- | app/Controllers/configureController.php | 4 |
1 files changed, 2 insertions, 2 deletions
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'), |
