forked from miguel456/rbrecruiter
Options: return value instead of whole model
This commit is contained in:
parent
2996e66c8b
commit
ea96cbc1f5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user