]> git.wh0rd.org - tt-rss.git/blobdiff - classes/rpc.php
move several methods from dlg; fix displayed tags not updated after editing
[tt-rss.git] / classes / rpc.php
index 3a20db6f32495ffa828916314342953592f764b7..34f623b061b594ec043a433d660b659f779cbafc 100644 (file)
@@ -407,8 +407,8 @@ class RPC extends Handler_Protected {
 
                if (!$tags_str_full) $tags_str_full = __("no tags");
 
-               print json_encode(array("tags_str" => array("id" => $id,
-                               "content" => $tags_str, "content_full" => $tags_str_full)));
+               print json_encode(array("id" => (int)$id,
+                               "content" => $tags_str, "content_full" => $tags_str_full));
        }
 
        function regenOPMLKey() {