Use correct variable
parent
0430e6ba28
commit
de175737ea
|
@ -2546,7 +2546,7 @@ class H5PCore {
|
||||||
$response = array(
|
$response = array(
|
||||||
'success' => TRUE
|
'success' => TRUE
|
||||||
);
|
);
|
||||||
if ($message !== NULL) {
|
if ($data !== NULL) {
|
||||||
$response['data'] = $data;
|
$response['data'] = $data;
|
||||||
}
|
}
|
||||||
self::printJson($response);
|
self::printJson($response);
|
||||||
|
|
Loading…
Reference in New Issue