fix customize CSS dialog disappearing newlines (2)

This commit is contained in:
Andrew Dolgov 2012-02-13 12:54:06 +04:00
parent 0380cfa9ee
commit 7e431502dd

View 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));
}