summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 89bc07d8e..2dc70a161 100644
--- a/functions.php
+++ b/functions.php
@@ -617,6 +617,10 @@
db_query($link, "UPDATE ttrss_users SET last_login = NOW() WHERE id = " .
$_SESSION["uid"]);
+ $user_theme = get_user_theme_path($link);
+
+ $_SESSION["theme"] = $user_theme;
+
initialize_user_prefs($link, $_SESSION["uid"]);
return true;