summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-19 04:55:22 +0100
committerAndrew Dolgov <[email protected]>2006-09-19 04:55:22 +0100
commit45094d96a2883af121763003ddb698048e16287b (patch)
treea715c46c951737a8a1b6fb2d063239e2cfc1d05d /functions.php
parentbb0f29a45468b26ec2a6fb8720e3a7c9e65be404 (diff)
fix feed: prefix stripping
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index b90cb3136..6ac0eecaf 100644
--- a/functions.php
+++ b/functions.php
@@ -1917,7 +1917,7 @@
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) {
$cat_qpart = "NULL";