diff --git a/booking.reports.inc b/booking.reports.inc
index 583f016..1b95e32 100644
--- a/booking.reports.inc
+++ b/booking.reports.inc
@@ -432,14 +432,9 @@ function booking_report_flight_details() {
*/
function booking_report_travel() {
global $event;
- $form = array();
+ //$form = array();
$prefix = t("
Travel Details
");
- //attach css so we can customise colours for some people
- $form['#attached']['css'] = array(
- drupal_get_path('module', 'booking') . '/booking.css',
- );
-
//define sorting information with the header
//as per http://www.drup-all.com/blog/table-sort-pagination-drupal-7
$header = array();
@@ -507,6 +502,9 @@ function booking_report_travel() {
}
$result = array (
+ '#attached' => array (
+ 'css' => array(drupal_get_path('module', 'booking') . '/booking.css')
+ ),
'first_para' => array (
'#type' => 'markup',
'#markup' => $prefix,