Commit a3769a4e authored by Dries's avatar Dries
Browse files

- Patch #1266322 by webchick: return feed ID after saving.

parent bbceb3e8
......@@ -478,6 +478,8 @@ function aggregator_save_category($edit) {
*
* @param $edit
* An associative array describing the feed to be added/edited/deleted.
* @return
* The ID of the feed.
*/
function aggregator_save_feed($edit) {
if (!empty($edit['fid'])) {
......@@ -544,6 +546,8 @@ function aggregator_save_feed($edit) {
}
}
}
return $edit['fid'];
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment