diff --git a/app/helpers.php b/app/helpers.php index 592a5be8..48798da7 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -84,6 +84,9 @@ if (!function_exists('list_to_assoc')) { $title = $item; } + $item = trim($item); + $title = trim($title); + $ret[$item] = $title; }