diff --git a/classes/torrents.class.php b/classes/torrents.class.php index c630ad35..e980c96b 100644 --- a/classes/torrents.class.php +++ b/classes/torrents.class.php @@ -722,8 +722,8 @@ public static function freeleech_torrents($TorrentIDs, $FreeNeutral = 1, $FreeLe list($TorrentID, $GroupID, $InfoHash) = $Torrent; Tracker::update_tracker('update_torrent', array('info_hash' => rawurlencode($InfoHash), 'freetorrent' => $FreeNeutral)); G::$Cache->delete_value("torrent_download_$TorrentID"); - Misc::write_log(G::$LoggedUser['Username']." marked torrent $TorrentID freeleech type $FreeLeechType!"); - Torrents::write_group_log($GroupID, $TorrentID, G::$LoggedUser['ID'], "marked as freeleech type $FreeLeechType!", 0); + Misc::write_log(G::$LoggedUser['Username']." marked torrent $TorrentID freeleech type $FreeNeutral with reason $FreeLeechType!"); + Torrents::write_group_log($GroupID, $TorrentID, G::$LoggedUser['ID'], "marked as freeleech type $FreeNeutral with reason $FreeLeechType!", 0); } foreach ($GroupIDs as $GroupID) {