Added commento to an echo in the application/core/FHC_Controller.php

because it is not possible to replace the echo
This commit is contained in:
Paolo
2022-02-02 11:52:08 +01:00
parent 40493936c3
commit 18d06c6e0c
+1 -1
View File
@@ -121,7 +121,7 @@ abstract class FHC_Controller extends CI_Controller
protected function terminateWithJsonError($message)
{
header('Content-Type: application/json');
echo json_encode(error($message));
echo json_encode(error($message)); // KEEP IT!!!
exit;
}