Skip to content

Commit 70ae822

Browse files
authored
Merge 4.x into 5.x
2 parents 7df5305 + 985aa1c commit 70ae822

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/Admin/AbstractAdmin.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2267,6 +2267,10 @@ protected function configureDefaultSortValues(array &$sortValues): void
22672267
*/
22682268
final protected function appendParentObject(object $object): void
22692269
{
2270+
if (!$this->hasRequest()) {
2271+
return;
2272+
}
2273+
22702274
if ($this->isChild()) {
22712275
$parentAssociationMapping = $this->getParentAssociationMapping();
22722276

0 commit comments

Comments
 (0)