Deprecated passing by reference

This commit is contained in:
sparkyx 2007-03-30 20:19:59 +00:00
parent 6d840f9a7b
commit cb6ded08fa

View file

@ -345,8 +345,8 @@ class jrn {
for ( $i=0;$i<$Max;$i++)
{
$array[$i]=pg_fetch_array($Res);
$p=$this->get_detail(&$array[$i],$type,$trunc,$a_TVA,$a_ParmCode);
$p=$this->get_detail($array[$i],$type,$trunc,$a_TVA,$a_ParmCode);
}
}
@ -385,7 +385,7 @@ class jrn {
* \param $a_ParmCode Array (default null)
* \return p_array
*/
function get_detail($p_array,$p_jrn_type,$trunc=0,$a_TVA=null,$a_ParmCode=null)
function get_detail(&$p_array,$p_jrn_type,$trunc=0,$a_TVA=null,$a_ParmCode=null)
{
if ( $a_TVA == null )
{