From 2996e66c8b2c4cc7102ee2e24327b21efa09de07 Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Mon, 31 Aug 2020 18:51:35 +0100 Subject: [PATCH] Add missing query builder statement for options --- app/Helpers/Options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helpers/Options.php b/app/Helpers/Options.php index 876c70b..ed9bc54 100644 --- a/app/Helpers/Options.php +++ b/app/Helpers/Options.php @@ -56,7 +56,7 @@ class Options if ($dbOption->first()) { - $dbOptionInstance = Option::find($dbOption->id); + $dbOptionInstance = Option::find($dbOption->first()->id); Cache::forget($option);