From: moodler Date: Fri, 25 Apr 2003 12:29:52 +0000 (+0000) Subject: Some default values for variables X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a2f1ef306732140fd7007ffad0baf758a1335a91;p=moodle.git Some default values for variables --- diff --git a/login/signup_form.php b/login/signup_form.php index 392af11b5f..a4e726e69f 100644 --- a/login/signup_form.php +++ b/login/signup_form.php @@ -1,3 +1,33 @@ +username)) { + $user->username = ""; + } + if (empty($user->password)) { + $user->password = ""; + } + if (empty($user->email)) { + $user->email = ""; + } + if (empty($user->firstname)) { + $user->firstname = ""; + } + if (empty($user->lastname)) { + $user->lastname = ""; + } + if (empty($user->idnumber)) { + $user->idnumber = ""; + } + if (empty($user->phone)) { + $user->phone = ""; + } + if (empty($user->city)) { + $user->city = ""; + } + if (empty($user->country)) { + $user->country = ""; + } + +?>