milestone fix; maybe not perfect

This commit is contained in:
Tóth Richárd
2019-02-14 16:53:40 +01:00
parent ddd2727ef2
commit 9abbc57532
16 changed files with 1492 additions and 989 deletions

View File

@@ -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());
}