Skip to content

Commit

Permalink
fix: warning in monthly agenda when user have no color and AGENDA_NO_…
Browse files Browse the repository at this point in the history
…TRANSPARENT_ON_NOT_BUSY=1
  • Loading branch information
FHenry committed Dec 24, 2024
1 parent d4edb47 commit c4255f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/comm/action/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1967,7 +1967,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
}
if (isset($theme_datacolor[$colorindex])) {
$color = sprintf("%02x%02x%02x", $theme_datacolor[$colorindex][0], $theme_datacolor[$colorindex][1], $theme_datacolor[$colorindex][2]);
} elseif (!empty(getDolGlobalString('THEME_ELDY_BACKBODY'))) {
} elseif (getDolGlobalString('THEME_ELDY_BACKBODY')) {
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
$color = colorArrayToHex(explode(',', getDolGlobalString('THEME_ELDY_BACKBODY')));
} else {
Expand Down

0 comments on commit c4255f6

Please sign in to comment.