Consistent use of return , payment refund handling
This commit is contained in:
@@ -106,7 +106,7 @@ class Period {
|
||||
// Change our end date to the day before
|
||||
$period_end -= 86400;
|
||||
|
||||
$return = array(
|
||||
$result = array(
|
||||
'start'=>$period_start,
|
||||
'start_time'=>$start,
|
||||
'date'=>$start,
|
||||
@@ -121,9 +121,9 @@ class Period {
|
||||
|
||||
if ($df)
|
||||
foreach (array('start','date','end') as $key)
|
||||
$return[$key] = Config::date($return[$key]);
|
||||
$result[$key] = Config::date($result[$key]);
|
||||
|
||||
return $return;
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user