Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

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

  Switch to side-by-side view

--- a/branches/2.5.4RC1/cgi-bin/yabb2/Sources/Load.pm
+++ b/branches/2.5.4RC1/cgi-bin/yabb2/Sources/Load.pm
@@ -15,7 +15,7 @@
 use CGI::Carp qw(fatalsToBrowser);
 our $VERSION = '2.5.41';
 
-$loadpmver = 'YaBB 2.5.4 RC1 $Revision: 1344 $';
+$loadpmver = 'YaBB 2.5.4 RC1 $Revision: 1385 $';
 
 sub LoadBoardControl {
     $binboard = q{};
@@ -44,6 +44,10 @@
         push @allboards, $cntboard;
 
         $cntdescription =~ s/\&/\&/gxsm;
+        if ( substr( $cntmods, 0, 2) eq ', ' ) {
+            substr( $cntmods, 0, 2 ) = q{}; } 
+        if ( substr( $cntmodgroups, 0, 2) eq ', ' ) {
+            substr( $cntmodgroups, 0, 2 ) = q{}; }
 
         %{ $uid . $cntboard } = (
             'cat'           => $cntcat,