diff --git a/api/index.php b/api/index.php index 5b6c34cd1..426f2489c 100755 --- a/api/index.php +++ b/api/index.php @@ -53,7 +53,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') { $response = Response::error('ok'); } -json_decode($response); +json_decode((string) $response); // Impostazioni di Content-Type e Charset Header if (json_last_error() == JSON_ERROR_NONE) { diff --git a/editor.php b/editor.php index 9b4a65da8..5da162427 100755 --- a/editor.php +++ b/editor.php @@ -364,7 +364,7 @@ if (empty($record) || !$has_access) { '; } - echo' + echo '