From d2cd242d2ac9fbbb30b69284cb655e3c5ea7f0fa Mon Sep 17 00:00:00 2001 From: Kevin Yeh Date: Wed, 25 Apr 2012 10:38:13 -0400 Subject: [PATCH] removed call time *pass by reference* and made sure pass by reference specified in function signature --- library/freeb/xmlrpcs.inc | 8 ++++---- library/gen_hcfa_1500.inc.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/library/freeb/xmlrpcs.inc b/library/freeb/xmlrpcs.inc index e4a1a20fd..cb191cd19 100644 --- a/library/freeb/xmlrpcs.inc +++ b/library/freeb/xmlrpcs.inc @@ -495,10 +495,10 @@ } function registerMethods(&$obj) { - $cvars = $this->getObjectVars(&$obj); + $cvars = $this->getObjectVars($obj); foreach($cvars as $ckey => $cvar) { if (is_object($cvar)) { - $this->registerMethods(&$cvars[$ckey]); + $this->registerMethods($cvars[$ckey]); } } @@ -531,11 +531,11 @@ return $prop; } - function &getObjectVars($obj) { + function &getObjectVars(&$obj) { $result=array(); $vars=get_object_vars($obj); foreach ($vars as $var => $value) { - $result[$var]=&$this->getVar(&$obj, $var); + $result[$var]=&$this->getVar($obj, $var); } return $result; } diff --git a/library/gen_hcfa_1500.inc.php b/library/gen_hcfa_1500.inc.php index 9755454ac..c455e0e0c 100644 --- a/library/gen_hcfa_1500.inc.php +++ b/library/gen_hcfa_1500.inc.php @@ -51,7 +51,7 @@ function gen_hcfa_1500($pid, $encounter, &$log) { while ($hcfa_proc_index < $claim->procCount()) { if ($hcfa_proc_index) $hcfa_data .= "\014"; // append form feed for new page - gen_hcfa_1500_page($pid, $encounter, &$log, &$claim); + gen_hcfa_1500_page($pid, $encounter, $log, $claim); } $log .= "\n"; -- 2.11.4.GIT