소스 검색

register block redirect bugfix

Signed-off-by: bachy <git@g-u-i.net>
bachy 12 년 전
부모
커밋
2fff41d01d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      materio_user.module

+ 1 - 1
materio_user.module

@@ -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
     )