]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix savefeedorder for dojo 1.7 (wtf)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 14 Aug 2012 15:37:31 +0000 (19:37 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 14 Aug 2012 15:37:31 +0000 (19:37 +0400)
classes/pref_feeds.php

index 5e1ac1a3bc620521cd7d73c3383e21345e27a7fc..d292319cbf11814ff6c5baf0a616fe663507d708 100644 (file)
@@ -342,6 +342,8 @@ class Pref_Feeds extends Protected_Handler {
                #file_put_contents("/tmp/saveorder.json", $_POST['payload']);
                #$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'])) {
                        $cat_order_id = 0;