Merge pull request #13333 from snipe/fixes/strtolower_on_catgories

Added strtolower for category type
This commit is contained in:
snipe 2023-07-19 09:00:55 +01:00 committed by GitHub
commit dc20305db6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;