diff options
| author | 2014-09-24 12:34:44 +0200 | |
|---|---|---|
| committer | 2014-09-24 12:34:44 +0200 | |
| commit | 666162ae56c2df8ae6a7ed6602b69f6caad10c7c (patch) | |
| tree | 00f3ab555b464b93c184f5ddf89150144d4db1aa | |
| parent | a80e12cbf7a38d5a745b8ce980e9c662f9c64dfb (diff) | |
Fix a bug when $query['state'] doesn't exist
Add a test in addQueryAction().
| -rwxr-xr-x | app/Controllers/configureController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php index d2ca0777f..e6e9172e6 100755 --- a/app/Controllers/configureController.php +++ b/app/Controllers/configureController.php @@ -517,7 +517,7 @@ class FreshRSS_configure_Controller extends Minz_ActionController { unset($query[$key]); } } - if ($query['state'] & FreshRSS_Entry::STATE_STRICT) { + if (!empty($query['state']) && $query['state'] & FreshRSS_Entry::STATE_STRICT) { $query['state'] -= FreshRSS_Entry::STATE_STRICT; } $queries[] = $query; |
