Browse Source

* FIX: fixed ajax errors

Giancarlo Voci 8 years ago
parent
commit
6a6c381b33
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/OpenMind/System/ErrorHandlers.php

+ 4 - 2
src/OpenMind/System/ErrorHandlers.php

@@ -41,8 +41,10 @@ class ErrorHandlers
       return;
       return;
     }
     }
 
 
-    http_response_code(400);
-    echo join(' - ', $arrayError);
+    //http_response_code(400);
+    //echo join(' - ', $arrayError);
+    // with return FALSE i leave to F3 the output of error code in AJAX
+    return FALSE;
   }
   }
 
 
   /**
   /**