mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
fixed object initialization
This commit is contained in:
parent
68d2023487
commit
06d7c6d6b2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user