浏览代码

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
     )