Add missing query builder statement for options

This commit is contained in:
Miguel Nogueira 2020-08-31 18:51:35 +01:00
parent a32af7c464
commit 2996e66c8b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class Options
if ($dbOption->first()) if ($dbOption->first())
{ {
$dbOptionInstance = Option::find($dbOption->id); $dbOptionInstance = Option::find($dbOption->first()->id);
Cache::forget($option); Cache::forget($option);