summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-21 19:12:00 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-21 19:12:00 +0000
commit06c886d45bce67f1444861813413ac366d02d031 (patch)
treef6c330c62162c16a245fdfff993f1a42fae8bcb6
parent7f85abe0e5e7d3d824dadaa08305d04e64343837 (diff)
downloadbrdo-06c886d45bce67f1444861813413ac366d02d031.tar.gz
brdo-06c886d45bce67f1444861813413ac366d02d031.tar.bz2
#194174 by webernet: flag DnD modified links as customized, so they can be restored to their original form on the UI
-rw-r--r--modules/menu/menu.admin.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/menu/menu.admin.inc b/modules/menu/menu.admin.inc
index 37b56041b..b617d7c46 100644
--- a/modules/menu/menu.admin.inc
+++ b/modules/menu/menu.admin.inc
@@ -156,6 +156,7 @@ function menu_overview_form_submit($form, &$form_state) {
// Save all our changed items to the database.
foreach ($updated_items as $item) {
+ $item['customized'] = 1;
menu_link_save($item);
}
}