milestone fix; maybe not perfect
This commit is contained in:
@@ -17,6 +17,7 @@ if ($this->is_id()) {
|
||||
log::register(($locked?'training_open':'training_close'), $this->get_id());
|
||||
//SEND NOTIFICATION
|
||||
|
||||
/*
|
||||
if (!$locked) {
|
||||
//get kids from training
|
||||
$kid_ids = $sql->assoc_array('SELECT pr_user_kid_uk_id FROM presence WHERE pr_training_tr_id = ' . $this->get_id());
|
||||
@@ -132,6 +133,7 @@ if ($this->is_id()) {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
header('Location: /admin/presence/' . $this->get_id());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user