summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/googlereadertheme/init.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/googlereadertheme/init.php b/plugins/googlereadertheme/init.php
index 76e6fa421..4ee4a4ba3 100644
--- a/plugins/googlereadertheme/init.php
+++ b/plugins/googlereadertheme/init.php
@@ -14,8 +14,10 @@ class GoogleReaderTheme extends Plugin {
$this->link = $host->get_link();
$this->host = $host;
- // force-enable combined mode
- set_pref($this->link, "COMBINED_DISPLAY_MODE", true);
+ if ($_SESSION["uid"]) {
+ // force-enable combined mode
+ set_pref($this->link, "COMBINED_DISPLAY_MODE", true, $_SESSION["uid"]);
+ }
}
function get_css() {