Skip to content

Commit

Permalink
fixed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Sep 17, 2006
1 parent 1752e58 commit a252007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/uploadlib.php
Expand Up @@ -111,7 +111,7 @@ function preprocess_files() {
// 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) {
Expand Down

0 comments on commit a252007

Please sign in to comment.