From eced3d39bcd941756a6a7c2e58086f1a12cf8115 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 19 May 2016 22:14:02 +1000 Subject: [PATCH] use array instead of stdClass --- booking.helper.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booking.helper.inc b/booking.helper.inc index adc140a..736db5c 100644 --- a/booking.helper.inc +++ b/booking.helper.inc @@ -1320,7 +1320,7 @@ function _booking_paypal_form_builder($node, &$form_state, $person, $invoiceid, * This will be used to select which fields to import/export to/from a CSV */ function _booking_get_person_fields() { - $list_of_columns = new stdClass(); + $list_of_columns = array(); $query = db_query('SHOW COLUMNS FROM {booking_person}'); $result = $query->fetchAll();