adjust _booking_get_person_fields() for sql view
This commit is contained in:
@@ -1321,7 +1321,7 @@ function _booking_paypal_form_builder($node, &$form_state, $person, $invoiceid,
|
|||||||
*/
|
*/
|
||||||
function _booking_get_person_fields() {
|
function _booking_get_person_fields() {
|
||||||
$list_of_columns = array();
|
$list_of_columns = array();
|
||||||
$query = db_query('SHOW COLUMNS FROM {booking_person}');
|
$query = db_query('SHOW COLUMNS FROM {booking_person_view}');
|
||||||
$result = $query->fetchAll();
|
$result = $query->fetchAll();
|
||||||
|
|
||||||
foreach ($result as $column) {
|
foreach ($result as $column) {
|
||||||
|
Reference in New Issue
Block a user