madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20455: 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 14:04:40 UTC (rev 20454)
+++ trunk/htdocs/talkread.bml	2011-10-31 14:50:59 UTC (rev 20455)
@@ -117,7 +117,7 @@
         $$head .= LJ::robot_meta_tags();
     }
 
-    unless ( ($entry && $entry->is_delayed) || ($item && $item->{'anum'} == $init->{'anum'}) ) {
+    unless ( ($entry && $entry->valid) || ($item && $item->{'anum'} == $init->{'anum'}) ) {
         LJ::Request->pnotes ('error' => 'e404');
         LJ::Request->pnotes ('remote' => LJ::get_remote());
         BML::return_error_status(404);

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