diff --git a/modal_forms.pages.inc b/modal_forms.pages.inc index 827369a..7508dd4 100644 --- a/modal_forms.pages.inc +++ b/modal_forms.pages.inc @@ -31,7 +31,7 @@ function modal_forms_login($js = NULL) { } elseif(module_exists('login_destination')) { $destination = login_destination_get_destination('login'); - $output[] = ctools_ajax_command_redirect($destination['path']); + $output[] = ctools_ajax_command_redirect($destination[0]); } else { $output[] = ctools_ajax_command_reload();