fix query
This commit is contained in:
@@ -633,7 +633,7 @@ function booking_variety_regn_edit_form($node, &$form_state, $nid)
|
||||
}
|
||||
|
||||
$person_query = db_query("SELECT * FROM {booking_person_view} WHERE nid = :nid",
|
||||
array(':nid' => $nid))->fetchAllAssoc('nid');
|
||||
array(':nid' => $nid))->fetchObject();
|
||||
|
||||
if (! $person_query) {
|
||||
drupal_set_message("Error: Could not find matching person. Unable to edit variety session registrations.", 'error', FALSE);
|
||||
|
Reference in New Issue
Block a user