only chop the last 2 chars if they are {comma}{space}

This commit is contained in:
Miles Lott 2002-02-16 13:48:41 +00:00
parent a91c9e31b2
commit 61c9a64dd0

View File

@ -397,7 +397,10 @@
}
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);