Skip to content

Commit

Permalink
Merge pull request #32489 from Easya-Solutions/fix-action-index-phpstan
Browse files Browse the repository at this point in the history
Fix phpstan for color on assigned event
  • Loading branch information
eldy authored Jan 2, 2025
2 parents 4744e0d + 6aeb9ee commit 2868e1f
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 @@ -2005,7 +2005,7 @@ function show_day_events($db, $day, $month, $year, $monthshown, $style, &$eventa
$color = sprintf("%02x%02x%02x", $theme_datacolor[$colorindex][0], $theme_datacolor[$colorindex][1], $theme_datacolor[$colorindex][2]);
} elseif (getDolGlobalString('THEME_ELDY_BACKBODY')) {
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
$color = colorArrayToHex(explode(',', getDolGlobalString('THEME_ELDY_BACKBODY')));
$color = colorArrayToHex(colorStringToArray(getDolGlobalString('THEME_ELDY_BACKBODY'), array()), '');
} else {
$color = "ffffff";
}
Expand Down

0 comments on commit 2868e1f

Please sign in to comment.