Commit 87ca8233 authored by Dries's avatar Dries
Browse files

- Patch #700336 by mr.baileys: cannot create or list menu items with Clean URLs off.

parent 0597e322
......@@ -346,7 +346,7 @@ function menu_edit_item_validate($form, &$form_state) {
if (!url_is_external($item['link_path'])) {
$parsed_link = parse_url($item['link_path']);
if (isset($parsed_link['query'])) {
$item['options']['query'] = $parsed_link['query'];
$item['options']['query'] = drupal_get_query_array($parsed_link['query']);
}
if (isset($parsed_link['fragment'])) {
$item['options']['fragment'] = $parsed_link['fragment'];
......
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