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

[livejournal] r17149: LJSUP-6519. viewall priv not working on ...

Committer: gprochaev
LJSUP-6519. viewall priv not working on beta, gamma, perhaps other servers

U   trunk/cgi-bin/LJ/S2/EntryPage.pm
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/EntryPage.pm	2010-08-18 07:48:12 UTC (rev 17148)
+++ trunk/cgi-bin/LJ/S2/EntryPage.pm	2010-08-18 07:48:31 UTC (rev 17149)
@@ -408,7 +408,7 @@
     }
 
     # check using normal rules
-    unless ($entry->visible_to($remote, $canview)) {
+    unless ($entry->visible_to($remote, { viewall => $canview })) {
         if ($remote) {
             $opts->{'handler_return'} = 403;
             LJ::Request->pnotes ('error' => 'private');

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