[] operator not supported for strings
Bug #1713598 reported by
Robert Lyon
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This error can happen when a variable is defined as a string to begin with then is treated as an array, for example:
$test = '';
Then
$test[] = 'cats';
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → Medium |
tags: | added: php71 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
milestone: | none → 17.10.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/7953