diff options
author | Gregor Tätzner <gregor@freenet.de> | 2012-07-11 21:17:32 +0200 |
---|---|---|
committer | Gregor Tätzner <gregor@freenet.de> | 2012-07-11 21:17:32 +0200 |
commit | 4ade56a7af6ff5230817f2680f358d0c5f57f56f (patch) | |
tree | 5a1cb7f29a3873ab0eb0d4d7c3d05bd6cc94cba5 /ajax/createfeed.php | |
parent | 4c7651538d68a3eede427bd723b1a1c24976bbce (diff) |
Fixed evaluation and utilization of parentid in addfeed and addfolder.
Diffstat (limited to 'ajax/createfeed.php')
-rw-r--r-- | ajax/createfeed.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ajax/createfeed.php b/ajax/createfeed.php index 35a403278..754d87495 100644 --- a/ajax/createfeed.php +++ b/ajax/createfeed.php @@ -18,11 +18,11 @@ OCP\JSON::callCheck(); $userid = OCP\USER::getUser(); $feedurl = trim($_POST['feedurl']); -//$folderid = trim($_POST['folderid']); +$folderid = trim($_POST['folderid']); $feed = OC_News_Utils::fetch($feedurl); $feedmapper = new OC_News_FeedMapper(); -$feedid = $feedmapper->save($feed, 0); //$folderid); +$feedid = $feedmapper->save($feed, $folderid); $l = OC_L10N::get('news'); |