From c61d4fc1e41a80cea8b9da29f4e51056a9079bec Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Sun, 6 Apr 2025 20:54:58 +0800 Subject: [PATCH] [13.x] Fixes merge conflict Signed-off-by: Mior Muhammad Zaki --- src/Illuminate/Database/Query/Builder.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index c32a3255a584..048d6912e028 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -3354,6 +3354,8 @@ protected function enforceOrderBy() */ public function pluck($column, $key = null) { + $original = $this->columns; + // First, we will need to select the results of the query accounting for the // given columns / key. Once we have the results, we will be able to take // the results and get the exact data that was requested for the query.