mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:15:56 +00:00
fix feed: prefix stripping (2)
This commit is contained in:
@@ -1917,7 +1917,7 @@
|
|||||||
|
|
||||||
function subscribe_to_feed($link, $feed_link, $cat_id = 0) {
|
function subscribe_to_feed($link, $feed_link, $cat_id = 0) {
|
||||||
|
|
||||||
$feed_link = preg_replace("/^feed://", "", $feed_link);
|
$feed_link = preg_replace("/^feed:/", "", $feed_link);
|
||||||
|
|
||||||
if ($cat_id == "0" || !$cat_id) {
|
if ($cat_id == "0" || !$cat_id) {
|
||||||
$cat_qpart = "NULL";
|
$cat_qpart = "NULL";
|
||||||
|
|||||||
Reference in New Issue
Block a user