Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /branches/2.5.4RC1/cgi-bin/yabb2/Sources/Favorites.pm [r1364] .. [r1365] Maximize Restore

  Switch to side-by-side view

--- a/branches/2.5.4RC1/cgi-bin/yabb2/Sources/Favorites.pm
+++ b/branches/2.5.4RC1/cgi-bin/yabb2/Sources/Favorites.pm
@@ -18,7 +18,7 @@
 use CGI::Carp qw(fatalsToBrowser);
 our $VERSION = '2.5.41';
 
-$favoritespmver = 'YaBB 2.5.4 RC1 $Revision: 1317 $';
+$favoritespmver = 'YaBB 2.5.4 RC1 $Revision: 1365 $';
 if ( $action eq 'detailedversion' ) { return 1; }
 
 sub Favorites {
@@ -37,7 +37,7 @@
 # grab all relevant info on the favorite thread for this user and check access to them
     if ( !$maxfavs ) { $maxfavs = 10; }
     my @favboards;
-    if ( eval { require Variables::Movedthreads; 1 } ) {
+    eval { require Variables::Movedthreads };
         foreach my $myfav ( split /,/xsm, ${ $uid . $username }{'favorites'} ) {
 
             # see if thread exists and search for it if moved
@@ -71,7 +71,6 @@
             $favoboard = ${$myfav}{'board'};
             push @favboards, "$favoboard|$myfav";
         }
-    }
 
     foreach ( sort @favboards ) {
         ( $loadboard, $loadfav ) = split /\|/xsm, $_;