mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-05 07:03:29 -04:00
Fix feed priority (#5274)
Fix https://github.com/FreshRSS/FreshRSS/issues/5273
This commit is contained in:
committed by
GitHub
parent
2882f44179
commit
b2ee8a660f
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user