Skip to content
Snippets Groups Projects
Commit 3705e6c4 authored by Thomas Citharel's avatar Thomas Citharel
Browse files

CS


Signed-off-by: default avatarThomas Citharel <tcit@tcit.fr>
parent ea3e391b
No related branches found
No related tags found
No related merge requests found
......@@ -94,9 +94,8 @@ function smarty_modifier_locale_2_lang($locale) {
$lang_arr = explode('-', $locale);
if ($lang_arr && count($lang_arr) > 1) {
return $lang_arr[0];
} else {
return $locale;
}
return $locale;
}
function path_for_datepicker_locale($lang) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment