mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10578 from MadeHQ/4.11
Prevent infinite loop when getting table name for ComponentID
This commit is contained in:
commit
bb5b093004
@ -162,7 +162,7 @@ class StandardRelatedDataService implements RelatedDataService
|
||||
$tableName = $this->dataObjectSchema->tableName($candidateClass);
|
||||
break;
|
||||
}
|
||||
$candidateClass = get_parent_class($class ?? '');
|
||||
$candidateClass = get_parent_class($candidateClass ?? '');
|
||||
}
|
||||
return $tableName;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user