Allow subContentId in group validation. Relates to: #HFP-285
parent
b55c1838a9
commit
b4615e01b1
|
@ -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