Skip to content
Snippets Groups Projects
Commit 965011c8 authored by Juanjo Menent's avatar Juanjo Menent Committed by GitHub
Browse files

Merge pull request #5579 from atm-florian/3.8

FIX : Weather icon is not calculated correctly
parents 7dec3279 0d536bff
No related branches found
No related tags found
No related merge requests found
...@@ -437,9 +437,11 @@ foreach($valid_dashboardlines as $board) ...@@ -437,9 +437,11 @@ foreach($valid_dashboardlines as $board)
if ($board->nbtodolate > 0) { if ($board->nbtodolate > 0) {
$totallate += $board->nbtodolate; $totallate += $board->nbtodolate;
} }
}
// Show dashboard // Show dashboard
foreach($valid_dashboardlines as $board)
{
$var=!$var; $var=!$var;
print '<tr '.$bc[$var].'><td width="16">'.$board->img.'</td><td>'.$board->label.'</td>'; 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>'; print '<td align="right"><a href="'.$board->url.'">'.$board->nbtodo.'</a></td>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment