[pLog-svn] r6625 - plog/branches/lifetype-1.2/class/action/admin

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Jun 21 14:50:50 EDT 2008


Author: jondaley
Date: 2008-06-21 14:50:50 -0400 (Sat, 21 Jun 2008)
New Revision: 6625

Modified:
   plog/branches/lifetype-1.2/class/action/admin/adminmainaction.class.php
Log:
okay, I'm paranoid, clear the invalid data out of the 'this' variable

Modified: plog/branches/lifetype-1.2/class/action/admin/adminmainaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/admin/adminmainaction.class.php	2008-06-21 18:50:10 UTC (rev 6624)
+++ plog/branches/lifetype-1.2/class/action/admin/adminmainaction.class.php	2008-06-21 18:50:50 UTC (rev 6625)
@@ -33,6 +33,7 @@
 	        $this->_blogId = $this->_request->getValue( "blogId" );
 	        $intVal = new IntegerValidator();
             if( $this->_blogId == "" || !$intVal->validate( $this->_blogId ) ) {
+                $this->_blogId = ""; // clear invalid data
 	            lt_include( PLOG_CLASS_PATH."class/dao/users.class.php" );
 				
 				// check if the user really belongs to one or more blogs and if not, quit



More information about the pLog-svn mailing list