From: Andrew Dolgov Date: Mon, 13 Feb 2012 08:54:06 +0000 (+0400) Subject: fix customize CSS dialog disappearing newlines (2) X-Git-Tag: 1.5.10~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7e431502ddd4dd5137c87d615468e6678388562d;p=tt-rss.git fix customize CSS dialog disappearing newlines (2) --- diff --git a/classes/rpc.php b/classes/rpc.php index 7ecb1ae6..d5e7b937 100644 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -214,7 +214,7 @@ class RPC extends Protected_Handler { // set_pref escapes input, so no need to double escape it here - set_pref($this->link, $key, $value, $_SESSION['uid'], false); + set_pref($this->link, $key, $value, $_SESSION['uid'], $key != 'USER_STYLESHEET'); print json_encode(array("param" =>$key, "value" => $value)); }