]> git.mjollnir.org Git - moodle.git/commitdiff
close bracket in wrong place
authormjollnir_ <mjollnir_>
Thu, 30 Sep 2004 04:18:41 +0000 (04:18 +0000)
committermjollnir_ <mjollnir_>
Thu, 30 Sep 2004 04:18:41 +0000 (04:18 +0000)
lib/uploadlib.php

index 1f9352c61f94e2c31cb2655dae8e77574dce9bd9..56850f8a91228db9b4978c6605e6456d9b178cbf 100644 (file)
@@ -730,7 +730,7 @@ function clam_log_infected($oldfilepath='', $newfilepath='', $userid=0) {
     $user = get_record('user', 'id', $userid);
     
     $errorstr = 'Clam AV has found a file that is infected with a virus. It was uploaded by '
-        . ((empty($user) ? ' an unknown user ' : fullname($user)))
+        . ((empty($user)) ? ' an unknown user ' : fullname($user))
         . ((empty($oldfilepath)) ? '. The infected file was caught on upload ('.$oldfilepath.')' 
            : '. The original file path of the infected file was '. $oldfilepath)
         . ((empty($newfilepath)) ? '. The file has been deleted ' : '. The file has been moved to a quarantine directory and the new path is '. $newfilepath);