mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-27 05:28:38 -04:00
Fix user queries
Before, when adding a user query where the state contains the strict filter, the label applied to the query was wrong. Now, the strict filter is always removed so the label applied is correct.
This commit is contained in:
1 parent
23e4577e02
commit
c791d84ded
1 file changed
+3
@@ -504,6 +504,9 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
|
||||
unset($query[$key]);
|
||||
}
|
||||
}
|
||||
if ($query['state'] & FreshRSS_Entry::STATE_STRICT) {
|
||||
$query['state'] -= FreshRSS_Entry::STATE_STRICT;
|
||||
}
|
||||
$queries[] = $query;
|
||||
$this->view->conf->_queries($queries);
|
||||
$this->view->conf->save();
|
||||
|
||||
Reference in new issue
Block a user