mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #42298
[Bug 1642745] Re: Error: Only variables should be passed by reference
** Changed in: mahara
Status: Fix Committed => Fix Released
--
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:
Fix Released
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
References