Fixed bug for saving metadata settings
parent
8dafa5db91
commit
c4e52f4f29
|
@ -128,7 +128,7 @@ abstract class H5PMetadata {
|
||||||
if (isset($metadataSettings['disable'])) {
|
if (isset($metadataSettings['disable'])) {
|
||||||
$metadataSettings['disable'] = $metadataSettings['disable'] === 1;
|
$metadataSettings['disable'] = $metadataSettings['disable'] === 1;
|
||||||
}
|
}
|
||||||
if (isset($metadataSettings['disable'])) {
|
if (isset($metadataSettings['disableExtraTitleField'])) {
|
||||||
$metadataSettings['disableExtraTitleField'] = $metadataSettings['disableExtraTitleField'] === 1;
|
$metadataSettings['disableExtraTitleField'] = $metadataSettings['disableExtraTitleField'] === 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue