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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Thu Jun 5 07:52:32 EDT 2008


Author: jondaley
Date: 2008-06-05 07:52:32 -0400 (Thu, 05 Jun 2008)
New Revision: 6504

Modified:
   plog/branches/lifetype-1.2/class/action/addcommentaction.class.php
Log:
direct access to the HttpVars object not safe, use our validated version instead

Modified: plog/branches/lifetype-1.2/class/action/addcommentaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/addcommentaction.class.php	2008-06-05 10:51:52 UTC (rev 6503)
+++ plog/branches/lifetype-1.2/class/action/addcommentaction.class.php	2008-06-05 11:52:32 UTC (rev 6504)
@@ -253,7 +253,7 @@
 			// before it's too late! We also need to add a new request commentUserName to replace
 			// original userName, in case developer need it in filter or event plugin.
 			$request = HttpVars::getRequest();
-			$request["commentUserName"] = $request["userName"];
+			$request["commentUserName"] = $this->_userName;
 			$request["userName"] = "";
 			HttpVars::setRequest( $request ); 					
 			



More information about the pLog-svn mailing list