Loading includes/features.menu.inc +7 −5 Original line number Diff line number Diff line Loading @@ -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']); Loading Loading
includes/features.menu.inc +7 −5 Original line number Diff line number Diff line Loading @@ -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']); Loading