googlereadertheme: check for UID being present
This commit is contained in:
parent
08dfc22391
commit
11191fdba1
|
@ -14,8 +14,10 @@ class GoogleReaderTheme extends Plugin {
|
|||
$this->link = $host->get_link();
|
||||
$this->host = $host;
|
||||
|
||||
if ($_SESSION["uid"]) {
|
||||
// force-enable combined mode
|
||||
set_pref($this->link, "COMBINED_DISPLAY_MODE", true);
|
||||
set_pref($this->link, "COMBINED_DISPLAY_MODE", true, $_SESSION["uid"]);
|
||||
}
|
||||
}
|
||||
|
||||
function get_css() {
|
||||
|
|
Loading…
Reference in New Issue