#194174 by webernet: flag DnD modified links as customized, so they can be restored to their original form on the UI

6.x
Gábor Hojtsy 2007-11-21 19:12:00 +00:00
parent 7f85abe0e5
commit 06c886d45b
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +156,7 @@ function menu_overview_form_submit($form, &$form_state) {
// Save all our changed items to the database. // Save all our changed items to the database.
foreach ($updated_items as $item) { foreach ($updated_items as $item) {
$item['customized'] = 1;
menu_link_save($item); menu_link_save($item);
} }
} }