Diff of /branches/2.5.4/cgi-bin/yabb2/Sources/Profile.pm [r1084] .. [r1085] Maximize Restore

  Switch to side-by-side view

--- a/branches/2.5.4/cgi-bin/yabb2/Sources/Profile.pm
+++ b/branches/2.5.4/cgi-bin/yabb2/Sources/Profile.pm
@@ -1,6 +1,6 @@
 ###############################################################################
 # Profile.pm                                                                  #
-# $Date: 2013-06-25 15:33:13 +0000 (Tue, 25 Jun 2013) $
+# $Date: 2013-07-03 15:15:05 +0000 (Wed, 03 Jul 2013) $
 ###############################################################################
 # YaBB: Yet another Bulletin Board                                            #
 # Open-Source Community Software for Webmasters                               #
@@ -18,7 +18,7 @@
 use CGI::Carp qw(fatalsToBrowser);
 our $VERSION = '2.5.4';
 
-$profilepmver = 'YaBB 2.5.4 $Revision: 1081 $';
+$profilepmver = 'YaBB 2.5.4 $Revision: 1085 $';
 if ( $action eq 'detailedversion' ) { return 1; }
 
 LoadLanguage('Profile');
@@ -511,6 +511,7 @@
                 $enable_MCaway
                 && (   ${ $uid . $user }{'position'} eq 'Administrator'
                     || ${ $uid . $user }{'position'} eq 'Global Moderator'
+                    || ${ $uid . $user }{'position'} eq 'Mid Moderator'
                     || is_moderator($user) )
             )
         )
@@ -693,7 +694,6 @@
         $my_show_avatar = $myprofile_show_avatar_a;
         $my_show_avatar =~ s/{yabb my_up_avatar_a}/$my_up_avatar_a/sm;
         $my_show_avatar =~ s/{yabb my_up_avatar_b}/$my_up_avatar_b/sm;
-        $my_show_avatar =~ s/{yabb av_pic}/$pic/sm;
         $my_show_avatar =~ s/{yabb av_pic}/$pic/sm;
         $my_show_avatar =~ s/{yabb av_alt}/$alt/sm;
         $my_show_avatar =~ s/{yabb av_s}/$s/gsm;