PHP7 fixing dwoo dynamic property references
Bug #1577259 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
15.04 |
Fix Released
|
High
|
Unassigned | ||
15.10 |
Fix Released
|
High
|
Unassigned | ||
16.04 |
Fix Released
|
High
|
Unassigned | ||
16.10 |
Fix Released
|
High
|
Unassigned |
Bug Description
Where dynamic property references have changed in php7 - you need to enclose the variable reference name in {} completely. eg: $data = $data->$m[2][$k] has become $data = $data->{$m[2][$k]}
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Changed in mahara: | |
milestone: | 16.10.0 → none |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/6455