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'),
|
||||
];
|
||||
|
||||
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