From 3e8a79be6d49d06c3a11be832123f94e0f212a3e Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <noreply@fakecake.org>
Date: Fri, 14 Mar 2014 14:51:12 +0400
Subject: [PATCH] make_init_params: add theme

---
 include/functions2.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/functions2.php b/include/functions2.php
index 57475183a..2cf4af22e 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -17,6 +17,7 @@
 		$params["default_view_order_by"] = get_pref("_DEFAULT_VIEW_ORDER_BY");
 		$params["bw_limit"] = (int) $_SESSION["bw_limit"];
 		$params["label_base_index"] = (int) LABEL_BASE_INDEX;
+		$params["theme"] = get_pref("USER_CSS_THEME", false, false);
 
 		$params["php_platform"] = PHP_OS;
 		$params["php_version"] = PHP_VERSION;
-- 
GitLab