From 0af411bac8fd6d09b61f86ce887257a0144fe54f Mon Sep 17 00:00:00 2001 From: thomasmars Date: Thu, 2 Mar 2017 14:39:36 +0100 Subject: [PATCH] Send json as camelCase HFP-794 --- h5p.classes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p.classes.php b/h5p.classes.php index 0ce52a2..478844d 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -2704,7 +2704,7 @@ class H5PCore { } if ($error_code !== NULL) { - $response['error_code'] = $error_code; + $response['errorCode'] = $error_code; } self::printJson($response);