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

mark at devel.lifetype.net mark at devel.lifetype.net
Mon Oct 22 05:31:39 EDT 2007


Author: mark
Date: 2007-10-22 05:31:39 -0400 (Mon, 22 Oct 2007)
New Revision: 5993

Modified:
   plog/trunk/class/action/admin/adminmainaction.class.php
Log:
We should stop the main action if we already assign the dashboard view to it.

Modified: plog/trunk/class/action/admin/adminmainaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminmainaction.class.php	2007-10-20 14:29:55 UTC (rev 5992)
+++ plog/trunk/class/action/admin/adminmainaction.class.php	2007-10-22 09:31:39 UTC (rev 5993)
@@ -44,7 +44,7 @@
                 	
 
 				$this->_view = new AdminDashboardView( $this->_userInfo, $userBlogs );
-				return false;
+				return true;
             }
 
 			// load the blog
@@ -105,6 +105,8 @@
 			// we don't have to worry about much more here, we can let the
 			// $this->_nextAction action take care of everytyhing now...
 			// If $this->_nextAction is null, we use "newPost" as default nextAction
+			if( $this->_view )
+				return true;
 				        
 	        $this->_nextAction = $this->_request->getValue( "action" );
 



More information about the pLog-svn mailing list