diff --git a/dev/tools/apstats.php b/dev/tools/apstats.php index 79931a84227..12ee8210e3a 100755 --- a/dev/tools/apstats.php +++ b/dev/tools/apstats.php @@ -173,10 +173,10 @@ foreach (array('proj', 'dep') as $source) { } // Search the max -$arrayofmax = array(); +$arrayofmax = array('Lines'=>0); foreach (array('proj', 'dep') as $source) { - foreach ($source as $val) { - $arrayofmax['Lines'] = max($arrayofmax, $val['Lines']); + foreach ($arrayoflineofcode[$source] as $val) { + $arrayofmax['Lines'] = max($arrayofmax['Lines'], $val['Lines']); } } @@ -272,6 +272,7 @@ th,td { border-width: 2px; padding: 5px; border-style: solid; + background-color: #f8f8f8; } .back1 { background-color: #884466; @@ -372,7 +373,7 @@ foreach (array('proj', 'dep') as $source) { $html .= '