fix savefeedorder for dojo 1.7 (wtf)
This commit is contained in:
parent
4d5eed551f
commit
a26f57e63a
1 changed files with 2 additions and 0 deletions
|
@ -342,6 +342,8 @@ class Pref_Feeds extends Protected_Handler {
|
||||||
#file_put_contents("/tmp/saveorder.json", $_POST['payload']);
|
#file_put_contents("/tmp/saveorder.json", $_POST['payload']);
|
||||||
#$data = json_decode(file_get_contents("/tmp/saveorder.json"), true);
|
#$data = json_decode(file_get_contents("/tmp/saveorder.json"), true);
|
||||||
|
|
||||||
|
$data['items'] = json_decode($data['items'], true);
|
||||||
|
|
||||||
if (is_array($data) && is_array($data['items'])) {
|
if (is_array($data) && is_array($data['items'])) {
|
||||||
$cat_order_id = 0;
|
$cat_order_id = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue