aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-07 04:33:34 -0800
committerFriendika <info@friendika.com>2011-01-07 04:33:34 -0800
commit2a269e0c182eb90405644190abe6f40a9cdef615 (patch)
treefabdba7035bc025ceb8afbeccaadee31c768cda9 /mod/register.php
parentd1432fe7b5cd6c2877fe2c99303870f27f96224a (diff)
downloadvolse-hubzilla-2a269e0c182eb90405644190abe6f40a9cdef615.tar.gz
volse-hubzilla-2a269e0c182eb90405644190abe6f40a9cdef615.tar.bz2
volse-hubzilla-2a269e0c182eb90405644190abe6f40a9cdef615.zip
use default system theme for system pages
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'] : ''));