HFP-2183 Default library.metadata property shall be 1
parent
d391d486c9
commit
3566ac4141
|
@ -87,7 +87,7 @@ class H5PDevelopment {
|
||||||
// Save/update library.
|
// Save/update library.
|
||||||
$library['libraryId'] = $this->h5pF->getLibraryId($library['machineName'], $library['majorVersion'], $library['minorVersion']);
|
$library['libraryId'] = $this->h5pF->getLibraryId($library['machineName'], $library['majorVersion'], $library['minorVersion']);
|
||||||
if (!isset($library['metadata'])) {
|
if (!isset($library['metadata'])) {
|
||||||
$library['metadata'] = 0;
|
$library['metadata'] = 1;
|
||||||
}
|
}
|
||||||
$this->h5pF->saveLibraryData($library, $library['libraryId'] === FALSE);
|
$this->h5pF->saveLibraryData($library, $library['libraryId'] === FALSE);
|
||||||
|
|
||||||
|
|
|
@ -1442,7 +1442,7 @@ class H5PStorage {
|
||||||
|
|
||||||
// Save library meta data
|
// Save library meta data
|
||||||
if (!isset($library['metadata'])) {
|
if (!isset($library['metadata'])) {
|
||||||
$library['metadata'] = 0;
|
$library['metadata'] = 1;
|
||||||
}
|
}
|
||||||
$this->h5pF->saveLibraryData($library, $new);
|
$this->h5pF->saveLibraryData($library, $new);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue