Skip to content
Snippets Groups Projects
Commit a3769a4e authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent bbceb3e8
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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'];
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment