Use correct variable

pull/17/head
Frode Petterson 2016-03-10 16:33:53 +01:00
parent 0430e6ba28
commit de175737ea
1 changed files with 1 additions and 1 deletions

View File

@ -2546,7 +2546,7 @@ class H5PCore {
$response = array(
'success' => TRUE
);
if ($message !== NULL) {
if ($data !== NULL) {
$response['data'] = $data;
}
self::printJson($response);