Reviewed:  https://reviews.mahara.org/7387
Committed: 
https://git.mahara.org/mahara/mahara/commit/65f3a4ea04b3b3ef3d4806b60b91a43216de2798
Submitter: Robert Lyon (robe...@catalyst.net.nz)
Branch:    16.04_STABLE

commit 65f3a4ea04b3b3ef3d4806b60b91a43216de2798
Author: Cecilia Vela Gurovic <ceci...@catalyst.net.nz>
Date:   Fri Dec 9 16:11:16 2016 +1300

Bug 1648679: Avoiding "Passed by reference" error

Fixed lines of code that threw the error
"Only variables should be passed by reference"
and other errors found.

behatnotneeded

Change-Id: I23e6a3c1b2ef97bf2cae29c15814fcdb79d5676f
(cherry picked from commit c29f4ef478efd7af27680c4ad4b769f7c2e59fe7)

-- 
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/1648679

Title:
  Find all Errors in code: Only variables should be passed by reference

Status in Mahara:
  Fix Committed
Status in Mahara 16.04 series:
  In Progress
Status in Mahara 16.10 series:
  In Progress
Status in Mahara 17.04 series:
  Fix Committed

Bug description:
  Need to search and fix all lines of code that throw error:
  "Only variables should be passed by reference"

  this message is shown when a function is called that needs parameters passed 
by reference but instead of a variable, another function called is passed. In 
most cases it works, but as it says here 
  https://bugs.php.net/bug.php?id=48937 this might lead to memory corruptions 
in some cases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1648679/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to