should this return the value?
[Pman.Base] / Pman.php
index f449844..d387018 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -361,7 +361,7 @@ class Pman extends HTML_FlexyFramework_Page
         }
         require_once 'Services/JSON.php';
         $js = new Services_JSON();
-        echo $js->encodeUnsafe($v);
+        return $js->encodeUnsafe($v);