From 761d34f17801859eeae8949d01bcfa60d1c69680 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 8 Jul 2017 14:17:07 -0500 Subject: [PATCH] don't try to apply columns in the relations field... --- app/Repositories/Eloquent/EloquentRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/Eloquent/EloquentRepository.php b/app/Repositories/Eloquent/EloquentRepository.php index 2da2eccd3..86f07db82 100644 --- a/app/Repositories/Eloquent/EloquentRepository.php +++ b/app/Repositories/Eloquent/EloquentRepository.php @@ -126,7 +126,7 @@ abstract class EloquentRepository extends Repository implements RepositoryInterf } } - return ($this->withFresh) ? $instance->fresh($this->getColumns()) : $saved; + return ($this->withFresh) ? $instance->fresh() : $saved; } /**