From: mjollnir_ Date: Thu, 30 Sep 2004 04:18:41 +0000 (+0000) Subject: close bracket in wrong place X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=436d4c6bf5585ef650d71776f478c9bd5f799b76;p=moodle.git close bracket in wrong place --- diff --git a/lib/uploadlib.php b/lib/uploadlib.php index 1f9352c61f..56850f8a91 100644 --- a/lib/uploadlib.php +++ b/lib/uploadlib.php @@ -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);