Pman/Roo.php
[Pman.Base] / Pman.php
index 08bdc6c..b3646aa 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -397,6 +397,7 @@ class Pman extends HTML_FlexyFramework_Page
         require_once 'Services/JSON.php';
         $json = new Services_JSON();
         
+        // log all errors!!!
         $this->addEvent("ERROR", false, $str);
         
         if (!empty($_REQUEST['returnHTML']) || 
@@ -407,7 +408,7 @@ class Pman extends HTML_FlexyFramework_Page
             echo  $json->encodeUnsafe(array(
                     'success'=> false, 
                     'errorMsg' => $str,
-                     'message' => $str, // compate with exeption / loadexception.
+                    'message' => $str, // compate with exeption / loadexception.
 
                     'errors' => $errors ? $errors : true, // used by forms to flag errors.
                     'authFailure' => !empty($errors['authFailure']),