[pLog-svn] r3341 - plog/trunk/class/action

mark at devel.lifetype.net mark at devel.lifetype.net
Fri May 5 08:11:32 GMT 2006


Author: mark
Date: 2006-05-05 08:11:31 +0000 (Fri, 05 May 2006)
New Revision: 3341

Modified:
   plog/trunk/class/action/blogaction.class.php
Log:
Fix a redirection error. If we do not remove the blogid from session, redirection will fall into infinite loop.

Modified: plog/trunk/class/action/blogaction.class.php
===================================================================
--- plog/trunk/class/action/blogaction.class.php	2006-05-05 07:53:40 UTC (rev 3340)
+++ plog/trunk/class/action/blogaction.class.php	2006-05-05 08:11:31 UTC (rev 3341)
@@ -48,6 +48,7 @@
 	            include_once( PLOG_CLASS_PATH."class/view/view.class.php" );
 	            include_once( PLOG_CLASS_PATH."class/view/redirectview.class.php" );
 	            
+	            $this->_session->setValue( 'blogId', null );
 	            $blogDoesNotExistUrl = $this->_config->getValue( "blog_does_not_exist_url" );
 	            if ( empty($blogDoesNotExistUrl) )
 	            	$blogDoesNotExistUrl = trim( $this->_config->getValue( "base_url" ) );



More information about the pLog-svn mailing list