diff options
author | Maurice Svay <maurice@svay.com> | 2010-08-10 22:17:23 +0200 |
---|---|---|
committer | Maurice Svay <maurice@svay.com> | 2010-08-10 22:17:23 +0200 |
commit | 62c063753aae880271fbcb7aaea36f1d8770b439 (patch) | |
tree | 3e0259cfdba235d4b871aa22a27672d26ccaf068 | |
parent | 57405b924a5bac577ff27eed96354ea3b43be50d (diff) | |
download | planet-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.php | 2 |
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 |