mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
fix
This commit is contained in:
parent
084caaaf01
commit
a84f1e3a34
|
|
@ -293,10 +293,10 @@ if (getDolGlobalString("GOOGLE_SHOW_COUNTRY_GRAPH") && $mode == 'memberbycountry
|
|||
$i = 0;
|
||||
foreach ($data as $val) {
|
||||
$valcountry = strtoupper($val['code']); // Should be ISO-3166 code (faster)
|
||||
//$valcountry=ucfirst($val['label_en']);
|
||||
if ($valcountry === 'Great Britain') {
|
||||
$valcountry = 'United Kingdom';
|
||||
} // fix case of uk (when we use labels)
|
||||
// $valcountry = ucfirst($val['label_en']);
|
||||
// if ($valcountry == 'Great Britain') {
|
||||
// $valcountry = 'United Kingdom';
|
||||
// } // fix case of uk (when we use labels)
|
||||
print "\tdata.setValue(".$i.", 0, \"".$valcountry."\");\n";
|
||||
print "\tdata.setValue(".$i.", 1, ".$val['nb'].");\n";
|
||||
// Google's Geomap only supports up to 400 entries
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user