diff options
| author | 2023-04-08 13:39:48 +0200 | |
|---|---|---|
| committer | 2023-04-08 13:39:48 +0200 | |
| commit | b2ee8a660f719ee3e523988bf536197d4bbe46a1 (patch) | |
| tree | 317ff179c9058dee6c0fced9c50206a0a1c3f94f /app/Controllers/subscriptionController.php | |
| parent | 2882f44179cc03f4c193d5b7528e9c7a884ff131 (diff) | |
Fix feed priority (#5274)
Fix https://github.com/FreshRSS/FreshRSS/issues/5273
Diffstat (limited to 'app/Controllers/subscriptionController.php')
| -rw-r--r-- | app/Controllers/subscriptionController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php index ff88aee9d..e0a8d4ff4 100644 --- a/app/Controllers/subscriptionController.php +++ b/app/Controllers/subscriptionController.php @@ -239,7 +239,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController { 'url' => checkUrl(Minz_Request::paramString('url')), 'category' => Minz_Request::paramInt('category'), 'pathEntries' => Minz_Request::paramString('path_entries'), - 'priority' => Minz_Request::paramInt('priority') ?: FreshRSS_Feed::PRIORITY_MAIN_STREAM, + 'priority' => Minz_Request::paramTernary('priority') === null ? FreshRSS_Feed::PRIORITY_MAIN_STREAM : Minz_Request::paramInt('priority'), 'httpAuth' => $httpAuth, 'ttl' => $feed->ttl(true), 'attributes' => $feed->attributes(), |
