should this return the value?
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2020 07:26:57 +0000 (15:26 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2020 07:26:57 +0000 (15:26 +0800)
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);