|
|
@@ -31,6 +31,7 @@ if($submit) {
|
|
|
$user->last_name = http::value("last_name", "trim");
|
|
|
$user->date_of_birth = http::value("date_of_birth", "trim");
|
|
|
$user->phone = http::value("phone", "trim");
|
|
|
+ $user->gender = http::value("gender", "trim");
|
|
|
|
|
|
if(empty($user->email)) $form_exception->addError("Email address is invalid.");
|
|
|
if(empty($user->title)) $form_exception->addError("Title is required.");
|