Error: Only variables should be passed by reference
Bug #1642745 reported by
Cecilia Vela Gurovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Cecilia Vela Gurovic |
Bug Description
When I go to page webservice/
I see the error debug message:
"Only variables should be passed by reference"
This is coming from a call to array_shift() that has a call to array_keys() as a parameter.
We should assign the result from array_keys() to a variable and then call array_shift() with this variable as a parameter.
Changed in mahara: | |
assignee: | nobody → Cecilia Vela Gurovic (ceciliavg) |
milestone: | none → 17.04.0 |
Changed in mahara: | |
status: | New → In Progress |
Changed in mahara: | |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/7258