From a2f1ef306732140fd7007ffad0baf758a1335a91 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 25 Apr 2003 12:29:52 +0000 Subject: [PATCH] Some default values for variables --- login/signup_form.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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 = ""; + } + +?>
-- 2.39.5