← Back to team overview

mahara-contributors team mailing list archive

[Bug 1648679] Re: Find all Errors in code: Only variables should be passed by reference

 

** Changed in: mahara/16.04
       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/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:
  Fix Released
Status in Mahara 16.10 series:
  Fix Released
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


References