Skip to content
Snippets Groups Projects
Commit 86d07d36 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

rpc, setpref: properly save settings to active profile

parent 77e81006
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ class RPC extends Handler_Protected {
$key = $_REQUEST['key'];
$value = str_replace("\n", "<br/>", $_REQUEST['value']);
set_pref($key, $value, $_SESSION['uid'], $key != 'USER_STYLESHEET');
set_pref($key, $value, false, $key != 'USER_STYLESHEET');
print json_encode(array("param" =>$key, "value" => $value));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment