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

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sun Aug 28 21:05:17 GMT 2005


Author: oscar
Date: 2005-08-28 21:05:16 +0000 (Sun, 28 Aug 2005)
New Revision: 2424

Modified:
   plog/branches/plog-1.0.2/class/action/admin/adminloginaction.class.php
Log:
fixed issue 661 as per Mark's and Nick's suggestions.


Modified: plog/branches/plog-1.0.2/class/action/admin/adminloginaction.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/action/admin/adminloginaction.class.php	2005-08-27 19:09:07 UTC (rev 2423)
+++ plog/branches/plog-1.0.2/class/action/admin/adminloginaction.class.php	2005-08-28 21:05:16 UTC (rev 2424)
@@ -109,7 +109,7 @@
 			// check if we are skipping the dashboard
 			if( $this->_config->getValue( "skip_dashboard" )) {
 				// get the first blog that came
-				$this->_blogInfo = array_pop( $userBlogs );			
+				$this->_blogInfo = end( $userBlogs );			
 				// set it in the session
             	$session = HttpVars::getSession();
             	$session["SessionInfo"]->setValue( "blogInfo", $this->_blogInfo );




More information about the pLog-svn mailing list