Fixed bug for saving metadata settings

set-minimum-height-for-dialogs
Paal Joergensen 2018-10-17 13:53:38 +02:00
parent 8dafa5db91
commit c4e52f4f29
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ abstract class H5PMetadata {
if (isset($metadataSettings['disable'])) {
$metadataSettings['disable'] = $metadataSettings['disable'] === 1;
}
if (isset($metadataSettings['disable'])) {
if (isset($metadataSettings['disableExtraTitleField'])) {
$metadataSettings['disableExtraTitleField'] = $metadataSettings['disableExtraTitleField'] === 1;
}