adjust _booking_get_person_fields() for sql view

This commit is contained in:
2016-05-27 17:47:40 +10:00
parent 910d74f905
commit 071ccba847

View File

@@ -1321,7 +1321,7 @@ function _booking_paypal_form_builder($node, &$form_state, $person, $invoiceid,
*/
function _booking_get_person_fields() {
$list_of_columns = array();
$query = db_query('SHOW COLUMNS FROM {booking_person}');
$query = db_query('SHOW COLUMNS FROM {booking_person_view}');
$result = $query->fetchAll();
foreach ($result as $column) {