MantisBT - ATutor
View Issue Details
0003782ATutorPatcherpublic2009-06-03 12:072009-07-21 08:50
cindy 
cindy 
normalminoralways
closedfixed 
1.6.2 
1.6.3 
SVN
0003782: Patcher warning on deprecated call-time pass-by-reference
http://www.atutor.ca/view/3/17629/1.html [^]

Subject: Parcher Warning

I got the following warning as I used the Patcher to install (each of) the patches after installation of 1.62:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of array_pop(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/content/Atutor/mods/_standard/patcher/classes/Patch.class.php on line 691
No tags attached.
Issue History
2009-06-03 12:07cindyNew Issue
2009-06-03 12:07cindyAffects version => SVN
2009-06-03 12:09cindyStatusnew => resolved
2009-06-03 12:09cindyFixed in Version => 1.6.2
2009-06-03 12:09cindyResolutionopen => fixed
2009-06-03 12:09cindyAssigned To => cindy
2009-06-03 12:09cindyNote Added: 0003582
2009-06-12 09:32gregStatusresolved => new
2009-06-12 09:33gregStatusnew => resolved
2009-06-12 09:33gregFixed in Version1.6.2 => 1.6.3
2009-07-21 08:50gregStatusresolved => closed

Notes
(0003582)
cindy   
2009-06-03 12:09   
SVN revision: 8522

Affected script:
mods/_standard/patcher/classes/Patch.class.php

Solution:
pass in array variable itself instead of reference of the array into function array_pop()