MDL-16283 fixed notice; merged from MOODLE_19_STABLE

This commit is contained in:
skodak 2008-08-31 20:45:10 +00:00
parent c49a07ce1f
commit 552c374e80

View File

@ -3582,10 +3582,10 @@ class admin_setting_special_calendar_weekend extends admin_setting {
$settings = array();
for ($i=0; $i<7; $i++) {
if ($result & (1 << $i)) {
$setting[] = $i;
$settings[] = $i;
}
}
return $setting;
return $settings;
}
function write_setting($data) {