]> git.mxchange.org Git - friendica.git/blobdiff - mod/directory.php
use default system theme for system pages
[friendica.git] / mod / directory.php
index b0cee76cb72330e59ae8e537dd24b72de0e2dcee..82f2b79b33f4db39ccbd02ec206dd3df588b6692 100644 (file)
@@ -14,6 +14,8 @@ function directory_post(&$a) {
 function directory_content(&$a) {
        $o = '';
        $o .= '<script> $(document).ready(function() { $(\'#nav-directory-link\').addClass(\'nav-selected\'); });</script>';
+       if(x($_SESSION,'theme'))
+               unset($_SESSION['theme']);
 
        if(x($a->data,'search'))
                $search = notags(trim($a->data['search']));