afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-09-02 05:46 pm

[dw-free] Lacks function to return a list of sorted trust groups

[commit: http://hg.dwscoalition.org/dw-free/rev/cb26f5eed563]

http://bugs.dwscoalition.org/show_bug.cgi?id=1616

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

Patch by [personal profile] kareila.

Files modified:
  • cgi-bin/LJ/User.pm
--------------------------------------------------------------------------------
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 );
 }
 
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org