mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 12:29:25 +01:00
only chop the last 2 chars if they are {comma}{space}
This commit is contained in:
parent
a91c9e31b2
commit
61c9a64dd0
@ -396,9 +396,12 @@
|
||||
$langs_list = ($langs_list ? $langs_list . ', ' : '') . $value;
|
||||
}
|
||||
if(@strlen($langs_list))
|
||||
{
|
||||
if(substr($langs_list,0,-2) == ', ')
|
||||
{
|
||||
$langs_list = substr($langs_list,0,-2);
|
||||
}
|
||||
}
|
||||
|
||||
$setup_tpl->set_var('lang_status_img',$completed);
|
||||
$setup_tpl->set_var('lang_status_alt','completed');
|
||||
|
Loading…
Reference in New Issue
Block a user