Skip to content
Snippets Groups Projects
Commit 87ca8233 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 0597e322
No related branches found
No related tags found
No related merge requests found
......@@ -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'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment