summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaurice Svay <maurice@svay.com>2010-08-10 22:17:23 +0200
committerMaurice Svay <maurice@svay.com>2010-08-10 22:17:23 +0200
commit62c063753aae880271fbcb7aaea36f1d8770b439 (patch)
tree3e0259cfdba235d4b871aa22a27672d26ccaf068
parent57405b924a5bac577ff27eed96354ea3b43be50d (diff)
downloadplanet-62c063753aae880271fbcb7aaea36f1d8770b439.tar
planet-62c063753aae880271fbcb7aaea36f1d8770b439.tar.gz
planet-62c063753aae880271fbcb7aaea36f1d8770b439.tar.bz2
planet-62c063753aae880271fbcb7aaea36f1d8770b439.tar.xz
planet-62c063753aae880271fbcb7aaea36f1d8770b439.zip
Fixes bug when adding no feed deletes all feeds
-rw-r--r--admin/subscriptions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/subscriptions.php b/admin/subscriptions.php
index d5536fe..88d0bea 100644
--- a/admin/subscriptions.php
+++ b/admin/subscriptions.php
@@ -54,8 +54,8 @@ if (isset($_POST['opml']) || isset($_POST['add'])) {
$person['feed'] = $feed->feed_url;
$oldOpml->entries[] = $person;
- $newOpml->entries = $oldOpml->entries;
}
+ $newOpml->entries = $oldOpml->entries;
}
// Backup old OPML