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