diff options
Diffstat (limited to 'mod/register.php')
-rw-r--r-- | mod/register.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/register.php b/mod/register.php index fcc9ebcab..86bfe2066 100644 --- a/mod/register.php +++ b/mod/register.php @@ -360,6 +360,10 @@ function register_content(&$a) { return; } + if(x($_SESSION,'theme')) + unset($_SESSION['theme']); + + $username = ((x($_POST,'username')) ? $_POST['username'] : ((x($_GET,'username')) ? $_GET['username'] : '')); $email = ((x($_POST,'email')) ? $_POST['email'] : ((x($_GET,'email')) ? $_GET['email'] : '')); $openid_url = ((x($_POST,'openid_url')) ? $_POST['openid_url'] : ((x($_GET,'openid_url')) ? $_GET['openid_url'] : '')); |