Use ID instead of library_id for lbiraries

HFP-793
pull/36/head
thomasmars 2017-03-03 15:45:19 +01:00
parent a95323948e
commit ae56eef91d
1 changed files with 1 additions and 1 deletions

View File

@ -2896,7 +2896,7 @@ class H5PCore {
// Add minimal data to display local only libraries // Add minimal data to display local only libraries
if ($is_local_only) { if ($is_local_only) {
$cached_libraries[] = array( $cached_libraries[] = array(
'id' => $local_lib->library_id, 'id' => $local_lib->id,
'machineName' => $local_lib->machine_name, 'machineName' => $local_lib->machine_name,
'majorVersion' => $local_lib->major_version, 'majorVersion' => $local_lib->major_version,
'minorVersion' => $local_lib->minor_version, 'minorVersion' => $local_lib->minor_version,