]> git.mxchange.org Git - friendica.git/blobdiff - mod/register.php
Merge remote branch 'friendica/master' into quattro-fontsoptions
[friendica.git] / mod / register.php
index de86808cb45670d4a3bcc5a6b87a906623a44dee..a8fa100c8f9c7109552405e9ea1369f187f8ee63 100644 (file)
@@ -193,6 +193,8 @@ function register_content(&$a) {
 
        if(x($_SESSION,'theme'))
                unset($_SESSION['theme']);
+       if(x($_SESSION,'mobile-theme'))
+               unset($_SESSION['mobile-theme']);
 
 
        $username     = ((x($_POST,'username'))     ? $_POST['username']     : ((x($_GET,'username'))     ? $_GET['username']              : ''));
@@ -245,6 +247,8 @@ function register_content(&$a) {
 
        call_hooks('register_form',$arr);
 
+       $o = $arr['template'];
+
        $o = replace_macros($o, array(
                '$oidhtml' => $oidhtml,
                '$invitations' => get_config('system','invitation_only'),