? patch.txt
Index: uploadlib.php
===================================================================
RCS file: /cvsroot/moodle/moodle/lib/uploadlib.php,v
retrieving revision 1.28
diff -u -r1.28 uploadlib.php
--- uploadlib.php 30 May 2008 20:42:05 -0000 1.28
+++ uploadlib.php 28 Jun 2008 00:20:56 -0000
@@ -129,11 +129,11 @@
return false;
} else if (count($this->files) == 1) {
-
+ $coloredlog = ''. $this->files[$name]['uploadlog']. '';
if (!$this->config->silent and !$this->config->allownull) {
- notify($this->files[$name]['uploadlog']);
+ notify($coloredlog);
} else {
- $this->notify .= '
'. $this->files[$name]['uploadlog'];
+ $this->notify .= '
'. $coloredlog;
}
$this->status = false;
return false;