aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
authorroot <root@diekershoff.homeunix.net>2011-01-08 08:24:24 +0100
committerroot <root@diekershoff.homeunix.net>2011-01-08 08:24:24 +0100
commitd6b8e8c6a98fb05c9f38f2c323502eb452c031ff (patch)
tree6f682f0a10839404514364e447becf9c7b75cccd /mod/register.php
parent1a60291222c0ebb1e0d181cc1d597e9218c2621b (diff)
parent618adb15937843db854a6cc8e7888dad3e81e8a4 (diff)
downloadvolse-hubzilla-d6b8e8c6a98fb05c9f38f2c323502eb452c031ff.tar.gz
volse-hubzilla-d6b8e8c6a98fb05c9f38f2c323502eb452c031ff.tar.bz2
volse-hubzilla-d6b8e8c6a98fb05c9f38f2c323502eb452c031ff.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/register.php')
-rw-r--r--mod/register.php4
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'] : ''));