From ea96cbc1f5ef18ed3588972ee32243aa45a6ab6f Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Mon, 31 Aug 2020 18:54:33 +0100 Subject: [PATCH] Options: return value instead of whole model --- 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 ed9bc54..761d946 100644 --- a/app/Helpers/Options.php +++ b/app/Helpers/Options.php @@ -23,7 +23,7 @@ class Options Cache::put($option . '_desc', 'Undefined description'); } - return $value; + return $value->option_value; } public function setOption(string $option, string $value, string $description)