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);