Consistent use of return , payment refund handling
This commit is contained in:
@@ -123,12 +123,12 @@ class ADSL {
|
||||
}
|
||||
|
||||
// Return the output sorted
|
||||
$return = array();
|
||||
$result = array();
|
||||
foreach (array('base_down_peak','base_down_offpeak','base_up_peak','base_up_offpeak') as $k)
|
||||
if (isset($a[$k]))
|
||||
$return[$k] = $a[$k];
|
||||
$result[$k] = $a[$k];
|
||||
|
||||
return $return;
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user