CC-4875: use a reference when iterating over show events
This commit is contained in:
parent
78f617cacb
commit
1e336fa2d7
|
@ -1758,7 +1758,7 @@ SQL;
|
||||||
$utc = new DateTimeZone("UTC");
|
$utc = new DateTimeZone("UTC");
|
||||||
$now = new DateTime("now", $utc);
|
$now = new DateTime("now", $utc);
|
||||||
|
|
||||||
foreach ($shows as $show) {
|
foreach ($shows as &$show) {
|
||||||
$options = array();
|
$options = array();
|
||||||
|
|
||||||
//only bother calculating percent for week or day view.
|
//only bother calculating percent for week or day view.
|
||||||
|
|
Loading…
Reference in New Issue