Deprecated passing by reference
This commit is contained in:
parent
6d840f9a7b
commit
cb6ded08fa
1 changed files with 3 additions and 3 deletions
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue