savefeedorder, savefilterorder: do not use clean() on json payload
This commit is contained in:
parent
2c51facf61
commit
67bf38afda
|
@ -389,7 +389,7 @@ class Pref_Feeds extends Handler_Protected {
|
|||
}
|
||||
|
||||
function savefeedorder() {
|
||||
$data = json_decode(clean($_POST['payload']), true);
|
||||
$data = json_decode($_POST['payload'], true);
|
||||
|
||||
#file_put_contents("/tmp/saveorder.json", clean($_POST['payload']));
|
||||
#$data = json_decode(file_get_contents("/tmp/saveorder.json"), true);
|
||||
|
|
|
@ -16,7 +16,7 @@ class Pref_Filters extends Handler_Protected {
|
|||
}
|
||||
|
||||
function savefilterorder() {
|
||||
$data = json_decode(clean($_POST['payload']), true);
|
||||
$data = json_decode($_POST['payload'], true);
|
||||
|
||||
#file_put_contents("/tmp/saveorder.json", clean($_POST['payload']));
|
||||
#$data = json_decode(file_get_contents("/tmp/saveorder.json"), true);
|
||||
|
|
Loading…
Reference in New Issue