Various cleanups for XHTML and so on

This commit is contained in:
moodler 2005-02-08 17:56:22 +00:00
parent bcd4d06b2f
commit 210eddc7df
7 changed files with 92 additions and 59 deletions

View file

@ -113,6 +113,14 @@ function config_form($frm) {
'AUD' => 'Australian Dollars'
);
$vars = array('enrol_cost', 'enrol_currency', 'enrol_paypalbusiness',
'enrol_mailstudents', 'enrol_mailteachers', 'enrol_mailadmins');
foreach ($vars as $var) {
if (!isset($frm->$var)) {
$frm->$var = '';
}
}
include("$CFG->dirroot/enrol/paypal/config.html");
}