mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
fixed warning
This commit is contained in:
parent
1752e584de
commit
a25200709b
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
// this shouldn't cause everything to stop.. modules should be responsible for knowing which if any are compulsory.
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ($this->status && $CFG->runclamonupload) {
|
if ($this->status && !empty($CFG->runclamonupload)) {
|
||||||
$this->status = clam_scan_file($this->files[$name],$this->course);
|
$this->status = clam_scan_file($this->files[$name],$this->course);
|
||||||
}
|
}
|
||||||
if (!$this->status) {
|
if (!$this->status) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue