]> git.mjollnir.org Git - moodle.git/commitdiff
admin/process_email MDL-20682 Incorrect file handled closed
authorDan Poltawski <dan.poltawski@lancaster.ac.uk>
Fri, 30 Oct 2009 16:24:45 +0000 (16:24 +0000)
committerDan Poltawski <dan.poltawski@lancaster.ac.uk>
Fri, 30 Oct 2009 16:24:45 +0000 (16:24 +0000)
Thanks to Andrew Nicols for the patch

admin/process_email.php

index 2b3713b34022d386956f79446f12de1ffdb12b74..cff7541ddd30a938c689cd110b11b1ad1a801492 100755 (executable)
@@ -73,7 +73,7 @@ while(!feof($fd)) {
 
 $function($modargs,$body); 
 
-fclose($handle);
+fclose($fd);