mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Merge pull request #13333 from snipe/fixes/strtolower_on_catgories
Added strtolower for category type
This commit is contained in:
commit
dc20305db6
|
@ -553,8 +553,8 @@ class Helper
|
|||
'license' => trans('general.license'),
|
||||
];
|
||||
|
||||
if($selection != null){
|
||||
return $category_types[$selection];
|
||||
if ($selection != null){
|
||||
return $category_types[strtolower($selection)];
|
||||
}
|
||||
else
|
||||
return $category_types;
|
||||
|
|
Loading…
Reference in a new issue