[pLog-svn] r6164 - plog/branches/lifetype-1.2/class/action
mark at devel.lifetype.net
mark at devel.lifetype.net
Tue Jan 22 04:12:15 EST 2008
Author: mark
Date: 2008-01-22 04:12:15 -0500 (Tue, 22 Jan 2008)
New Revision: 6164
Modified:
plog/branches/lifetype-1.2/class/action/viewarticleaction.class.php
Log:
Fixed bug http://bugs.lifetype.net/view.php?id=1440
Modified: plog/branches/lifetype-1.2/class/action/viewarticleaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/viewarticleaction.class.php 2008-01-22 06:18:36 UTC (rev 6163)
+++ plog/branches/lifetype-1.2/class/action/viewarticleaction.class.php 2008-01-22 09:12:15 UTC (rev 6164)
@@ -73,7 +73,11 @@
{
$this->_view = new ErrorView( $this->_blogInfo );
$this->_view->setValue( "message", "error_fetching_article" );
- $this->setCommonData();
+ if( $this->_config->getValue( 'request_format_mode' ) != NORMAL_REQUEST_MODE )
+ {
+ $this->_view->_headers[0] = "HTTP/1.0 404 Not Found";
+ }
+ $this->setCommonData();
}
/**
More information about the pLog-svn
mailing list