From a25200709b320386ab5124535b1170a620f9a68b Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 17 Sep 2006 20:51:54 +0000 Subject: [PATCH] fixed warning --- lib/uploadlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uploadlib.php b/lib/uploadlib.php index b272a4a854..2be27a8094 100644 --- a/lib/uploadlib.php +++ b/lib/uploadlib.php @@ -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) { -- 2.39.5