mirror of
https://github.com/moodle/moodle.git
synced 2025-06-03 22:55:39 +02:00
fixed warning
This commit is contained in:
parent
1752e584de
commit
a25200709b
@ -111,7 +111,7 @@ class upload_manager {
|
||||
// this shouldn't cause everything to stop.. modules should be responsible for knowing which if any are compulsory.
|
||||
continue;
|
||||
}
|
||||
if ($this->status && $CFG->runclamonupload) {
|
||||
if ($this->status && !empty($CFG->runclamonupload)) {
|
||||
$this->status = clam_scan_file($this->files[$name],$this->course);
|
||||
}
|
||||
if (!$this->status) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user