From 348b9488f35d0fc2a9b53996a281399075403a36 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 29 Mar 2011 10:10:39 +0000 Subject: [PATCH] New: Add region/country statistics for member module. --- htdocs/adherents/stats/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/stats/index.php b/htdocs/adherents/stats/index.php index 2a1c7c2d0a5..174fb55af3b 100644 --- a/htdocs/adherents/stats/index.php +++ b/htdocs/adherents/stats/index.php @@ -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