cleanup trailing whitespace

This commit is contained in:
2016-05-19 08:24:50 +10:00
parent ea0a6bb8fc
commit f027df3f6e
15 changed files with 35 additions and 42 deletions

View File

@@ -448,7 +448,7 @@ function _date_range_to_string($date_start, $date_end) {
} else {
$end_string .= ' ' . strftime("%B", mktime(12, 0, 0, $end[2], 1, $end[1]));
//no need to append anything to $start_string
}
}
//create a timestamp based on 1 Jan that year to compare
if (mktime(12, 0, 0, 1, 1, $end[1]) > mktime(12, 0, 0, 1, 1, $start[1])) {
@@ -1047,7 +1047,7 @@ function _booking_amount_owing($person, $amount_paid = 0, $include_paypal_fees =
if (! $person->nid) {
watchdog('booking', "Unable to find matching person relating to registration id. Details were '" . var_export($person, TRUE) . "' .");
return 0.00;
}
}
$total_due = _booking_total_due($person);
@@ -1442,7 +1442,7 @@ function _booking_travelform_email_summary($node) {
$bf_gf = $query->booking_firstname . " " . $query->booking_lastname;
}
else
$bf_gf = "N/A";
$bf_gf = "N/A";
$rows = array();
@@ -1542,7 +1542,7 @@ function _booking_leader_helper_email_summary($node) {
// continue;
if ($studygroup->booking_is_readinggroup == 'Y')
continue;
continue;
//calculate the session references
//$sessionid = "session" . $i;
@@ -1602,7 +1602,7 @@ function _booking_leader_helper_email_summary($node) {
$rows[] = t('!role for !descrip (section !id). Your !otherrole is !other. You can contact them on !phone or !email.',
array('!role' => $role, '!id' => $studygroup->sid, '!descrip' => $studygroup->booking_studygroup_descrip,
'!otherrole' => $otherrole, '!other' => $otherperson_name, '!phone' => $otherperson_phone, '!email' => $otherperson_email,
));
));
}
}