madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22177: LJSUP-12482: Delayed entrires were avail...

Committer: sbelyaev
LJSUP-12482: Delayed entrires were available to another user
U   trunk/cgi-bin/LJ/DelayedEntry.pm
Modified: trunk/cgi-bin/LJ/DelayedEntry.pm
===================================================================
--- trunk/cgi-bin/LJ/DelayedEntry.pm	2012-06-06 07:32:02 UTC (rev 22176)
+++ trunk/cgi-bin/LJ/DelayedEntry.pm	2012-06-06 08:19:27 UTC (rev 22177)
@@ -707,11 +707,11 @@
     my $sql_poster = '';
 
     if ( !($can_see || $viewsome || $viewall) ) {
-        $sql_poster = 'AND posterid = ' . $user->userid . " ";
+        $sql_poster .= 'AND posterid = ' . $user->userid . " ";
     }
 
     unless ($options->{'show_posted'}) {
-        $sql_poster = " AND finaltime IS NULL ";
+        $sql_poster .= " AND finaltime IS NULL ";
     }
 
     my $dbcr = LJ::get_cluster_master($journal)

Tags: livejournal, madeon, pm, sbelyaev
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