fixed object initialization

This commit is contained in:
skodak 2007-07-12 15:42:50 +00:00
parent 68d2023487
commit 06d7c6d6b2

View File

@ -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