-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
type: bugSomething isn't workingSomething isn't working
Milestone
Description
Lines 1219 to 1221 in 5588e05
| foreach( $zones as $zone ) { | |
| $zone = $this->_fill_zone_details( $zone ); | |
| } |
That assignment back to $zone is flawed, since the variable just gets overridden on the next loop iteration, and the original $zones (which is returned from the function) is never updated.
See https://3v4l.org/QMZl6 as a POC.
While the fix is easy, we'll need to see what the implications are for having the $zones now populated with more data.
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working