From 2a269e0c182eb90405644190abe6f40a9cdef615 Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 7 Jan 2011 04:33:34 -0800 Subject: use default system theme for system pages --- mod/register.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod/register.php') 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'] : '')); -- cgit v1.2.3