mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Added strtolower for category type
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
c1949ffb0d
commit
a0a5ca1f40
|
@ -553,8 +553,8 @@ class Helper
|
||||||
'license' => trans('general.license'),
|
'license' => trans('general.license'),
|
||||||
];
|
];
|
||||||
|
|
||||||
if($selection != null){
|
if ($selection != null){
|
||||||
return $category_types[$selection];
|
return $category_types[strtolower($selection)];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return $category_types;
|
return $category_types;
|
||||||
|
|
Loading…
Reference in a new issue