add notify emails
This commit is contained in:
@@ -128,6 +128,11 @@ class user_kid extends user_parent {
|
||||
public function get_uk_shirt_size() {
|
||||
return $this->user_shirt_size;
|
||||
}
|
||||
|
||||
public function get_uk_is_active() {
|
||||
return $this->user_is_active;
|
||||
}
|
||||
|
||||
public function get_uk_shirt_size_name() {
|
||||
global $sql;
|
||||
if ($this->user_shirt_size) return $sql->single_variable("select shirt_name from shirt where shirt_id = " . $this->user_shirt_size);
|
||||
@@ -375,6 +380,11 @@ class user_kid extends user_parent {
|
||||
$city->set_school_city_data_by_id($value);
|
||||
$this->set_uk_address($city);
|
||||
}
|
||||
if ($field == 'uk_parent_1' && !empty($value)) {
|
||||
$parent = new user_parent();
|
||||
$parent->set_user_data_by_id($value);
|
||||
$this->set_uk_parent_1($parent);
|
||||
}
|
||||
//$this->set_ua_type(2); //kid típus beállítása
|
||||
}
|
||||
$this->set_login(true);
|
||||
|
||||
Reference in New Issue
Block a user