Merge pull request #5579 from atm-florian/3.8

FIX : Weather icon is not calculated correctly
This commit is contained in:
Juanjo Menent 2016-08-03 10:33:29 +02:00 committed by GitHub
commit 965011c8bc

View File

@ -437,9 +437,11 @@ foreach($valid_dashboardlines as $board)
if ($board->nbtodolate > 0) {
$totallate += $board->nbtodolate;
}
}
// Show dashboard
// Show dashboard
foreach($valid_dashboardlines as $board)
{
$var=!$var;
print '<tr '.$bc[$var].'><td width="16">'.$board->img.'</td><td>'.$board->label.'</td>';
print '<td align="right"><a href="'.$board->url.'">'.$board->nbtodo.'</a></td>';