precedent bug fix was not a bug, it is incometibility with ajax_register

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy 2013-02-11 14:39:12 +01:00
parent 2fff41d01d
commit 72e2d8a7f4

View File

@ -103,7 +103,7 @@ function materio_user_user_register_form_submit($form, &$form_state){
unset($_REQUEST['destination'], $_REQUEST['edit']['destination']);
$form_state['redirect'] = array(
'/node/11187',
'node/11187',
array(
'fragment' => $_GET['q'] == 'node/11187' ? 'content-bottom' : '', // if we register from the membership page, then go directly to the form
)