PHP 5.3 incompatible array declarations
Bug #1566127 reported by
Aaron Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Aaron Wells | ||
15.10 |
Fix Released
|
Medium
|
Aaron Wells | ||
16.04 |
Fix Released
|
Medium
|
Aaron Wells | ||
16.10 |
Fix Released
|
Medium
|
Aaron Wells |
Bug Description
In lib/graph.php there's a spot where an array is initialized using the easier array syntax introduced in PHP 5.4:
$defaultcolours = ['187,35,
Since we're still supporting PHP 5.3, this needs to use the array() pseudo-function instead.
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/6309