summaryrefslogtreecommitdiff
path: root/modules/field_ui
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field_ui')
-rw-r--r--modules/field_ui/field_ui.admin.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/field_ui/field_ui.admin.inc b/modules/field_ui/field_ui.admin.inc
index f13fdea69..49f42483f 100644
--- a/modules/field_ui/field_ui.admin.inc
+++ b/modules/field_ui/field_ui.admin.inc
@@ -1395,12 +1395,12 @@ function field_ui_field_edit_form_submit($form, &$form_state) {
* Helper functions to handle multipage redirects.
*/
function field_ui_get_destinations($destinations) {
- $query = array();
$path = array_shift($destinations);
+ $options = drupal_parse_url($path);
if ($destinations) {
- $query['destinations'] = $destinations;
+ $options['query']['destinations'] = $destinations;
}
- return array($path, array('query' => $query));
+ return array($options['path'], $options);
}
/**