wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r19429: Fix error in logic operator

Committer: gprochaev
Fix error in logic operator

U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2011-07-05 05:14:10 UTC (rev 19428)
+++ trunk/cgi-bin/LJ/User.pm	2011-07-05 06:35:34 UTC (rev 19429)
@@ -4288,7 +4288,7 @@
 # returns if this user is considered visible
 sub is_visible {
     my $u = shift;
-    return $u->statusvis eq 'V' and $u->clusterid != 0;
+    return ($u->statusvis eq 'V' && $u->clusterid != 0);
 }
 
 sub is_deleted {

Tags: livejournal, pm, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments