Allow subContentId in group validation. Relates to: #HFP-285
parent
426f51caa0
commit
0882879552
|
@ -3063,6 +3063,11 @@ class H5PContentValidator {
|
|||
}
|
||||
else {
|
||||
foreach ($group as $key => &$value) {
|
||||
// If subContentId is set, keep value
|
||||
if($key == 'subContentId' && $value == TRUE){
|
||||
continue;
|
||||
}
|
||||
|
||||
// Find semantics for name=$key
|
||||
$found = FALSE;
|
||||
foreach ($semantics->fields as $field) {
|
||||
|
|
Loading…
Reference in New Issue