]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix customize CSS dialog disappearing newlines (2)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 13 Feb 2012 08:54:06 +0000 (12:54 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 13 Feb 2012 08:54:06 +0000 (12:54 +0400)
classes/rpc.php

index 7ecb1ae638daf4bae99cc28e9908697739f592e3..d5e7b937ad526f23374002a311e0d8976ff0e894 100644 (file)
@@ -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));
        }