debug
This commit is contained in:
@@ -207,11 +207,11 @@ function booking_manual_email_submit($form, &$form_state) {
|
|||||||
$counter++;
|
$counter++;
|
||||||
//store info about the email
|
//store info about the email
|
||||||
$update_messages[] = $message;
|
$update_messages[] = $message;
|
||||||
|
watchdog('booking_debug', "<pre>Email Messages array\n@info</pre>", array('@info' => print_r( $update_messages, true)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$final_message = "Sent manual email for $counter people.";
|
$final_message = "Sent manual email for $counter people of type " . $form_state['values']['email-type'];
|
||||||
drupal_set_message($final_message, 'status', FALSE);
|
drupal_set_message($final_message, 'status', FALSE);
|
||||||
watchdog('booking', "<pre>" . $final_message . "\n" . implode("\n", $update_messages) . "</pre>");
|
watchdog('booking', "<pre>" . $final_message . "\n" . implode("\n", $update_messages) . "</pre>");
|
||||||
//watchdog('booking', "Sent manual email for $counter people.");
|
//watchdog('booking', "Sent manual email for $counter people.");
|
||||||
|
Reference in New Issue
Block a user