Skip to content

Commit

Permalink
fix convertion of param
Browse files Browse the repository at this point in the history
  • Loading branch information
eynimeni committed Jan 10, 2024
1 parent 7b6d61e commit 7fb0586
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ private function render_attemptresultstackchart(array $attemptsbytimerange, int
foreach ($attemptsbytimerange as $timestamp => $attempts) {
$labels[] = (string)$timestamp;
foreach ($attempts as $attempt) {
$color = personabilities::get_color_for_personability($quizsettings, $attempt, $catscaleid);
$color = personabilities::get_color_for_personability((array)$quizsettings, $attempt, $catscaleid);

if (!isset($series[$timestamp][$color])) {
$series[$timestamp][$color] = 1;
Expand Down

0 comments on commit 7fb0586

Please sign in to comment.