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

@@ -33,12 +33,11 @@ function booking_room_view_summary() {
//output everything
$output .= t("<h3>!event Room Locations</h3>", array('!event' => $event->booking_eventname));
$output .= theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => $attributes));
$output .= theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => $attributes));
return $output;
}
}
/**
* Form to view or add a studygroup definition
@@ -144,8 +143,7 @@ function booking_roomlocation_define_form_submit($form, &$form_state) {
//get the number of study groups before making this update
//$count = db_query("SELECT count(*) as num FROM {booking_studygroup_list} WHERE booking_eventid = :eid",
// array(':eid' => $event->eid))->fetchObject();
// array(':eid' => $event->eid))->fetchObject();
//watchdog('booking', 'Checkboxes when setting buttons: @info', array ('@info' => var_export($checkboxes, TRUE)));
if ($form_state['values']['op'] == 'Create')
@@ -313,7 +311,7 @@ function booking_rooms_definition_form($node, &$form_state, $create, $room_id =
//TODO: update to be like booking_price_form()
$query = db_query("SELECT * FROM {booking_room_locations} where booking_roomlocation_active='Y'");
$query = db_query("SELECT * FROM {booking_room_locations} where booking_roomlocation_active='Y'");
foreach($query as $row)
{