Commit 280d36b5 authored by develCuy's avatar develCuy
Browse files

BUGS FIXING

Use tokens in path checkbox is always enabled, reported by vivianspencer.
parent 270ee78e
......@@ -34,7 +34,7 @@ function menu_token_edit_item_form_submit($form_id, $form_values) {
)
$token_enabled[$form_values['mid']] = $form_values['path'];
else
unset($token_enabled[$form_values['enabled']]['mid']);
unset($token_enabled[$form_values['mid']]);
variable_set('menu_token_enabled', $token_enabled);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment