fixed warning

This commit is contained in:
skodak 2006-09-17 20:51:54 +00:00
parent 1752e584de
commit a25200709b

View file

@ -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) {