Diff of /branches/2.5.4RC1/cgi-bin/yabb2/Sources/BoardIndex.pm [r1385] .. [r1386] Maximize Restore

  Switch to side-by-side view

--- a/branches/2.5.4RC1/cgi-bin/yabb2/Sources/BoardIndex.pm
+++ b/branches/2.5.4RC1/cgi-bin/yabb2/Sources/BoardIndex.pm
@@ -19,7 +19,7 @@
 use English '-no_match_vars';
 our $VERSION = '2.5.41';
 
-$boardindexpmver = 'YaBB 2.5.4 RC1 $Revision: 1381 $';
+$boardindexpmver = 'YaBB 2.5.4 RC1 $Revision: 1386 $';
 if ( $action eq 'detailedversion' ) { return 1; }
 
 LoadLanguage('BoardIndex');
@@ -810,9 +810,8 @@
                 ToChars($bddescr);
                 $iammod     = q{};
                 %moderators = ();
-
-                foreach
-                  my $curuser ( split /, ?/sm, ${ $uid . $curboard }{'mods'} )
+                my $curmods = ${ $uid . $curboard }{'mods'};
+                foreach my $curuser ( split /, ?/sm, $curmods )
                 {
                     if ( $username eq $curuser ) { $iammod = 1; }
                     LoadUser($curuser);