Added strtolower for category type

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-07-19 08:56:17 +01:00
parent c1949ffb0d
commit a0a5ca1f40

View file

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