mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #39869
[Bug 1642745] [NEW] Error: Only variables should be passed by reference
Public bug reported:
When I go to page webservice/testclient.php
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.
** Affects: mahara
Importance: Undecided
Assignee: Cecilia Vela Gurovic (ceciliavg)
Status: New
** Changed in: mahara
Milestone: None => 17.04.0
** Changed in: mahara
Assignee: (unassigned) => Cecilia Vela Gurovic (ceciliavg)
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1642745
Title:
Error: Only variables should be passed by reference
Status in Mahara:
New
Bug description:
When I go to page webservice/testclient.php
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1642745/+subscriptions
Follow ups