mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Remove +}
I like this format: { } not { }
This commit is contained in:
parent
134c20fb14
commit
be59e14b9e
1 changed files with 7 additions and 8 deletions
|
@ -132,8 +132,7 @@ class enrolment_plugin_authorize
|
|||
{
|
||||
global $CFG;
|
||||
|
||||
if (zero_cost($course) ||
|
||||
(!empty($course->password) and !empty($form->password))) {
|
||||
if (zero_cost($course) || (!empty($course->password) && !empty($form->password))) {
|
||||
$manual = enrolment_factory::factory('manual');
|
||||
$manual->check_entry($form, $course);
|
||||
if (!empty($manual->errormsg)) {
|
||||
|
@ -149,7 +148,7 @@ class enrolment_plugin_authorize
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Credit card number mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue