updates to travel form and add calls to _booking_node_create_mysqlview
This commit is contained in:
@@ -9,6 +9,16 @@ function booking_admin()
|
||||
//regenerate all our menu hooks when loading this form
|
||||
menu_rebuild();
|
||||
|
||||
//create the mysql view booking_person_view if necessary
|
||||
$sqlview_check = db_query("SELECT 1 FROM {booking_person_view}")->fetchAssoc();
|
||||
if (! $sqlview_check) {
|
||||
watchdog('booking_debug', "SQL View booking_person_view check does not exist");
|
||||
_booking_node_create_mysqlview();
|
||||
}
|
||||
else {
|
||||
watchdog('booking_debug', "<pre>SQL View booking_person_view check\n@info</pre>", array('@info' => print_r( $sqlview_check, true)));
|
||||
}
|
||||
|
||||
$form = array();
|
||||
|
||||
$form['email'] = array(
|
||||
|
Reference in New Issue
Block a user