register block redirect bugfix
Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
parent
83fbaa4669
commit
2fff41d01d
@ -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
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user