mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 23:11:19 +01:00
only chop the last 2 chars if they are {comma}{space}
This commit is contained in:
parent
a91c9e31b2
commit
61c9a64dd0
@ -397,7 +397,10 @@
|
|||||||
}
|
}
|
||||||
if(@strlen($langs_list))
|
if(@strlen($langs_list))
|
||||||
{
|
{
|
||||||
$langs_list = substr($langs_list,0,-2);
|
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_img',$completed);
|
||||||
|
Loading…
Reference in New Issue
Block a user