forked from Wavyzz/dolibarr
Qual: Removed errors reported by phpcodesniffer
This commit is contained in:
@@ -168,7 +168,7 @@ dol_fiche_head($head, $tab, $langs->trans("Statistics"), 0, 'user');
|
|||||||
|
|
||||||
|
|
||||||
// Print title
|
// Print title
|
||||||
if ($mode && ! sizeof($data))
|
if ($mode && ! count($data))
|
||||||
{
|
{
|
||||||
print $langs->trans("NoValidatedMemberYet").'<br>';
|
print $langs->trans("NoValidatedMemberYet").'<br>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
@@ -202,7 +202,7 @@ if ($mode == 'memberbycountry')
|
|||||||
print "function drawMap() {\n\tvar data = new google.visualization.DataTable();\n";
|
print "function drawMap() {\n\tvar data = new google.visualization.DataTable();\n";
|
||||||
|
|
||||||
// Get the total number of rows
|
// Get the total number of rows
|
||||||
print "\tdata.addRows(".sizeof($data).");\n";
|
print "\tdata.addRows(".count($data).");\n";
|
||||||
print "\tdata.addColumn('string', 'Country');\n";
|
print "\tdata.addColumn('string', 'Country');\n";
|
||||||
print "\tdata.addColumn('number', 'Number');\n";
|
print "\tdata.addColumn('number', 'Number');\n";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user