Slight tweak to be safer: return blank string instead of undef (no 
functional change)

        Patch by kareila. 

diffs (12 lines):

diff -r aecbbe85bdc7 -r cb26f5eed563 cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm        Wed Sep 02 17:26:27 2009 +0000
+++ b/cgi-bin/LJ/User.pm        Wed Sep 02 17:45:53 2009 +0000
@@ -3620,7 +3620,7 @@ sub security_group_display {
         }
     }
 
-    return join( ', ', @ret ) if @ret;
+    return join( ', ', @ret );
 }
 
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to