From d130d4ff8d4359cd40a7972d91226b416e031a05 Mon Sep 17 00:00:00 2001 From: Git Date: Thu, 13 Oct 2011 08:00:12 +0000 Subject: [PATCH] Empty commit --- classes/script_start.php | 2 +- sections/reportsv2/takeresolve.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/script_start.php b/classes/script_start.php index 254942ca..1d94210c 100644 --- a/classes/script_start.php +++ b/classes/script_start.php @@ -1235,7 +1235,7 @@ function warn_user($UserID, $Duration, $Reason) { $Cache->update_row(false, array('Warned' => $WarnTime)); $Cache->commit_transaction(0); - $AdminComment = "\n".date("Y-m-d").' - Warned until '.$WarnTime.' by '.$LoggedUser['Username']."\nReason: $Reason\n\n"; + $AdminComment = date("Y-m-d").' - Warned until '.$WarnTime.' by '.$LoggedUser['Username']."\nReason: $Reason\n\n"; $DB->query('UPDATE users_info SET Warned=\''.db_string($WarnTime).'\', diff --git a/sections/reportsv2/takeresolve.php b/sections/reportsv2/takeresolve.php index 6ef9e62f..1d49d0b2 100644 --- a/sections/reportsv2/takeresolve.php +++ b/sections/reportsv2/takeresolve.php @@ -197,7 +197,7 @@ if($Warning > 0) { $WarnLength = $Warning * (7*24*60*60); - $Reason = "Uploader of torrent (".$TorrentID.") ".db_string($RawName)." which was resolved with the preset: ".$ResolveType['title']."."; + $Reason = "Uploader of torrent (".$TorrentID.") ".$RawName." which was resolved with the preset: ".$ResolveType['title']."."; if($Escaped['admin_message']) { $Reason .= " (".$Escaped['admin_message'].")."; }