Commit 65b07cae authored by Claudiu Cristea's avatar Claudiu Cristea Committed by Joseph Olstad
Browse files

Issue #2385853 by claudiu.cristea, YesCT, MustangGB, rclemings: menu link...

Issue #2385853 by claudiu.cristea, YesCT, MustangGB, rclemings: menu link shows as overridden: options identifier showing in default, not in overrides
parent c234c697
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -236,13 +236,15 @@ function menu_links_features_export_render($module, $data, $export = NULL) {
        }
      }

      if (isset($export)) {
        // Don't show new identifier unless we are actually exporting.
      if (!isset($link['options']['identifier'])) {
        // Create the identifier only if it doesn't exists.
        $link['options']['identifier'] = $new_identifier;
        // identifiers are renewed, => that means we need to update them in the db
        if (!empty($export)) {
          // Identifiers are renewed. We need to update them in the DB.
          $temp = $link;
          menu_link_save($temp);
        }
      }

       unset($link['plid']);
       unset($link['mlid']);