diff --git a/classes/script_start.php b/classes/script_start.php index 5a073a3e..903ad36a 100644 --- a/classes/script_start.php +++ b/classes/script_start.php @@ -1200,10 +1200,10 @@ function format_username($UserID, $Badges = false, $IsWarned = true, $IsEnabled } if ($Title) { // Image proxy CTs - if(check_perms('site_proxy_images') && !empty($UserTitle)) { - $UserTitle = preg_replace_callback('~src=("?)(http.+?)(["\s>])~', function($Matches) { + if(check_perms('site_proxy_images') && !empty($UserInfo['Title'])) { + $UserInfo['Title'] = preg_replace_callback('~src=("?)(http.+?)(["\s>])~', function($Matches) { return 'src='.$Matches[1].'http'.($SSL?'s':'').'://'.SITE_URL.'/image.php?c=1&i='.urlencode($Matches[2]).$Matches[3]; - }, $UserTitle); + }, $UserInfo['Title']); } $str.=''; diff --git a/sections/ajax/user.php b/sections/ajax/user.php index 4f0f5002..9abe1b33 100644 --- a/sections/ajax/user.php +++ b/sections/ajax/user.php @@ -278,7 +278,7 @@ function check_paranoia_here($Setting) { 'collagesContrib' => $NumCollageContribs == null ? null : (int) $NumCollageContribs, 'requestsFilled' => $RequestsFilled == null ? null : (int) $RequestsFilled, 'requestsVoted' => $RequestsVoted == null ? null : (int) $RequestsVoted, - 'perfectFlacs' => $PerfectFLACs == null ? null : (int) $PerfectFlacs, + 'perfectFlacs' => $PerfectFLACs == null ? null : (int) $PerfectFLACs, 'uploaded' => $Uploads == null ? null : (int) $Uploads, 'groups' => $UniqueGroups == null ? null : (int) $UniqueGroups, 'seeding' => $Seeding == null ? null : (int) $Seeding, diff --git a/sections/torrents/details.php b/sections/torrents/details.php index 6ff7891b..76a2918c 100644 --- a/sections/torrents/details.php +++ b/sections/torrents/details.php @@ -238,7 +238,7 @@ function compare($X, $Y){ } } if (!empty($Artists[3]) && count($Artists[3]) > 0) { - print '