Merge remote-tracking branch 'origin/release'

Keep simpler version of simultaneous fixes
semi-fullscreen
Oliver Tacke 2018-10-26 14:58:22 +02:00
commit 37c0593ff4
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ abstract class H5PMetadata {
continue; continue;
} }
if (array_key_exists($key, $metadata) && ($metadata[$key] === null || isset($metadata[$key]))) { if (array_key_exists($key, $metadata)) {
$value = $metadata[$key]; $value = $metadata[$key];
$db_field_name = strtolower(preg_replace('/(?<!^)[A-Z]/', '_$0', $key)); $db_field_name = strtolower(preg_replace('/(?<!^)[A-Z]/', '_$0', $key));