Permalink
Browse files

removed call time *pass by reference* and made sure pass by reference…

… specified in function signature
  • Loading branch information...
yehster committed Apr 25, 2012
1 parent 6107a4c commit f4792298ac7808ced30f43dd1dfdefe690773d56
Showing with 5 additions and 5 deletions.
  1. +4 −4 library/freeb/xmlrpcs.inc
  2. +1 −1 library/gen_hcfa_1500.inc.php
@@ -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;
}
@@ -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";

0 comments on commit f479229

Please sign in to comment.