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/directory.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod/directory.php') diff --git a/mod/directory.php b/mod/directory.php index b0cee76cb..82f2b79b3 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -14,6 +14,8 @@ function directory_post(&$a) { function directory_content(&$a) { $o = ''; $o .= ''; + if(x($_SESSION,'theme')) + unset($_SESSION['theme']); if(x($a->data,'search')) $search = notags(trim($a->data['search'])); -- cgit v1.2.3