mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-27 09:47:35 -04:00
Fix addFeed (#5253)
Fix https://github.com/FreshRSS/FreshRSS/issues/5252 Regression from https://github.com/FreshRSS/FreshRSS/pull/5239
This commit is contained in:
committed by
GitHub
parent
0f5e321c0b
commit
4e2bbf820a
@@ -48,7 +48,7 @@ class FreshRSS_feed_Controller extends FreshRSS_ActionController {
|
||||
|
||||
/** @var string|null $url */
|
||||
$urlHooked = Minz_ExtensionManager::callHook('check_url_before_add', $url);
|
||||
if ($urlHooked === $url) {
|
||||
if ($urlHooked === null) {
|
||||
throw new FreshRSS_FeedNotAdded_Exception($url);
|
||||
}
|
||||
$url = $urlHooked;
|
||||
|
||||
Reference in New Issue
Block a user