Commit a3769a4e authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent bbceb3e8
Loading
Loading
Loading
Loading
+4 −0
Changes for modules/aggregator/aggregator.module: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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'];
}

/**