From 62a77ad5139ec7c5c4d347b02b077bca9981ebdb Mon Sep 17 00:00:00 2001 From: Cristian Tabacitu Date: Thu, 25 Feb 2021 10:25:29 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/app/Library/CrudPanel/Traits/Read.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/Library/CrudPanel/Traits/Read.php b/src/app/Library/CrudPanel/Traits/Read.php index 317b4337ac..504c57965e 100644 --- a/src/app/Library/CrudPanel/Traits/Read.php +++ b/src/app/Library/CrudPanel/Traits/Read.php @@ -93,6 +93,7 @@ public function autoEagerLoadRelationshipColumns() try { $result = $obj->$method(); $last_valid_relation_method = $method; + return $result->getRelated(); } catch (Exception $e) { return;