close bracket in wrong place

This commit is contained in:
mjollnir_
2004-09-30 04:18:41 +00:00
parent 777b9e0faf
commit 436d4c6bf5
+1 -1
View 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);