From 7e431502ddd4dd5137c87d615468e6678388562d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 13 Feb 2012 12:54:06 +0400 Subject: [PATCH] fix customize CSS dialog disappearing newlines (2) --- classes/rpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- 2.39.5