[pLog-svn] r2391 - plog/branches/plog-1.0.2/class/action/admin

pwestbro at devel.plogworld.net pwestbro at devel.plogworld.net
Tue Aug 2 17:17:17 GMT 2005


Author: pwestbro
Date: 2005-08-02 17:17:16 +0000 (Tue, 02 Aug 2005)
New Revision: 2391

Modified:
   plog/branches/plog-1.0.2/class/action/admin/adminmainaction.class.php
Log:
Fixed a problem where the blogInfo object was not being saved in the session
with php5.  This change now makes this function save the session variables
the same way that AdminAction::saveSession does.


Modified: plog/branches/plog-1.0.2/class/action/admin/adminmainaction.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/action/admin/adminmainaction.class.php	2005-08-02 17:14:13 UTC (rev 2390)
+++ plog/branches/plog-1.0.2/class/action/admin/adminmainaction.class.php	2005-08-02 17:17:16 UTC (rev 2391)
@@ -84,8 +84,9 @@
 
             // if all correct, we can now set the blogInfo object in the session for later
             // use
+            $this->_session->setValue( "blogInfo", $this->_blogInfo );
             $session = HttpVars::getSession();
-            $session["SessionInfo"]->setValue( "blogInfo", $this->_blogInfo );
+            $session["SessionInfo"] = $this->_session;
             HttpVars::setSession( $session );
 
             return true;




More information about the pLog-svn mailing list