Options: return value instead of whole model

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

View File

@ -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)