Commit caf91227 authored by ufundo's avatar ufundo
Browse files

Fix check for pre-existing menu item

parent 042905e0
...@@ -183,7 +183,7 @@ function _form_processor_menu_exists(&$menu, $path) { ...@@ -183,7 +183,7 @@ function _form_processor_menu_exists(&$menu, $path) {
} }
$found = _form_processor_menu_exists($entry['child'], implode('/', $path)); $found = _form_processor_menu_exists($entry['child'], implode('/', $path));
if ($found) { if ($found) {
return false; return true;
} }
} }
} }
......
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