From 06d7c6d6b2b230b425e3bf6053fa0ba296711948 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 12 Jul 2007 15:42:50 +0000 Subject: [PATCH] fixed object initialization --- login/signup_form.php | 1 + 1 file changed, 1 insertion(+) diff --git a/login/signup_form.php b/login/signup_form.php index 218731e3c06..df2f0a1e96d 100644 --- a/login/signup_form.php +++ b/login/signup_form.php @@ -29,6 +29,7 @@ class login_signup_form extends moodleform { $mform->setType('email2', PARAM_NOTAGS); $mform->addRule('email2', get_string('missingemail'), 'required', null, 'server'); + $nameordercheck = new object(); $nameordercheck->firstname = 'a'; $nameordercheck->lastname = 'b'; if (fullname($nameordercheck) == 'b a' ) { // See MDL-4325