New: Add region/country statistics for member module.

This commit is contained in:
Laurent Destailleur 2011-03-29 10:10:39 +00:00
parent ebfee045c3
commit 348b9488f3

View File

@ -115,7 +115,7 @@ if ($mode)
}
if ($mode == 'memberbystate')
{
$data[]=array('label'=>($obj->label?$obj->label:$langs->trans("Unknown")),
$data[]=array('label'=>($langs->trans("Country".$obj->code)!="Country".$obj->code?$langs->trans("Country".$obj->code):($obj->label?$obj->label:$langs->trans("Unknown"))),
'label2'=>($obj->label2?$obj->label2:$langs->trans("Unknown")),
'nb'=>$obj->nb,
'lastdate'=>$obj->lastdate