madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20454: LJSV-1884: Incorrect message when loadin...

Committer: sbelyaev
LJSV-1884: Incorrect message when loading deleted entry
U   trunk/htdocs/talkread.bml
Modified: trunk/htdocs/talkread.bml
===================================================================
--- trunk/htdocs/talkread.bml	2011-10-31 11:18:20 UTC (rev 20453)
+++ trunk/htdocs/talkread.bml	2011-10-31 14:04:40 UTC (rev 20454)
@@ -117,7 +117,7 @@
         $$head .= LJ::robot_meta_tags();
     }
 
-    unless ( $entry || ($item && $item->{'anum'} == $init->{'anum'}) ) {
+    unless ( ($entry && $entry->is_delayed) || ($item && $item->{'anum'} == $init->{'anum'}) ) {
         LJ::Request->pnotes ('error' => 'e404');
         LJ::Request->pnotes ('remote' => LJ::get_remote());
         BML::return_error_status(404);
@@ -211,7 +211,6 @@
         return $errtxt unless LJ::Talk::check_viewable($remote, $item, \%GET, \$errtxt);
     }
     
-
     my $props = $item->{'props'};
     my $nocomments_old = $viewall ?
                          0 :

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