From 436d4c6bf5585ef650d71776f478c9bd5f799b76 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Thu, 30 Sep 2004 04:18:41 +0000 Subject: [PATCH] close bracket in wrong place --- lib/uploadlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5