Remove +}

I like this format:
{
}

not {
}
This commit is contained in:
ethem 2006-09-02 15:05:10 +00:00
parent 134c20fb14
commit be59e14b9e

View file

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