[pLog-svn] r2993 - plog/trunk/class/action/admin

mark at devel.lifetype.net mark at devel.lifetype.net
Wed Mar 1 08:10:27 GMT 2006


Author: mark
Date: 2006-03-01 08:10:26 +0000 (Wed, 01 Mar 2006)
New Revision: 2993

Modified:
   plog/trunk/class/action/admin/adminloginaction.class.php
Log:
Fix session problem in PHP5.

Modified: plog/trunk/class/action/admin/adminloginaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminloginaction.class.php	2006-03-01 03:10:15 UTC (rev 2992)
+++ plog/trunk/class/action/admin/adminloginaction.class.php	2006-03-01 08:10:26 UTC (rev 2993)
@@ -112,7 +112,8 @@
 				$this->_blogInfo = end( $userBlogs );
 				// set it in the session
             	$session = HttpVars::getSession();
-            	$session["SessionInfo"]->setValue( "blogInfo", $this->_blogInfo );
+            	$sessionInfo->setValue( "blogInfo", $this->_blogInfo );
+            	$session["SessionInfo"] = $sessionInfo;
             	HttpVars::setSession( $session );			
             	// and then continue...
 				AdminController::setForwardAction( "newPost" );



More information about the pLog-svn mailing list