Bugfix: Check if library json is valid
parent
406a55be5c
commit
3d14588160
|
@ -78,7 +78,7 @@ class H5PDevelopment {
|
|||
}
|
||||
|
||||
$library = json_decode($libraryJSON, TRUE);
|
||||
if ($library === FALSE) {
|
||||
if ($library === NULL) {
|
||||
continue; // Invalid JSON.
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue