remove debug statement
This commit is contained in:
@@ -378,8 +378,8 @@ function booking_studygroup_leadhelp_edit_form_submit($form, &$form_state) {
|
|||||||
$message = "";
|
$message = "";
|
||||||
//get the previous value
|
//get the previous value
|
||||||
$previous_value = _booking_studygroup_leadhelp_edit_get_previous_value($form, $type, $type . '[' . $session_id . ']');
|
$previous_value = _booking_studygroup_leadhelp_edit_get_previous_value($form, $type, $type . '[' . $session_id . ']');
|
||||||
watchdog('booking_debug', "<pre>Studygroup assignment previous value:\n@info\nCurrent value:\n@current</pre>",
|
//watchdog('booking_debug', "<pre>Studygroup assignment previous value:\n@info\nCurrent value:\n@current</pre>",
|
||||||
array('@info' => print_r( $previous_value, true), '@current' => print_r( $person, true)));
|
// array('@info' => print_r( $previous_value, true), '@current' => print_r( $person, true)));
|
||||||
//compare it against $person
|
//compare it against $person
|
||||||
//if $person is now empty, set the person's role to zero
|
//if $person is now empty, set the person's role to zero
|
||||||
if (empty($person) && $previous_value != 0) {
|
if (empty($person) && $previous_value != 0) {
|
||||||
|
Reference in New Issue
Block a user