[pLog-svn] r5687 - plog/tags/lifetype-1.2.4/class/action

mark at devel.lifetype.net mark at devel.lifetype.net
Thu Jul 19 14:25:04 EDT 2007


Author: mark
Date: 2007-07-19 14:25:04 -0400 (Thu, 19 Jul 2007)
New Revision: 5687

Modified:
   plog/tags/lifetype-1.2.4/class/action/addcommentaction.class.php
Log:
Fixed the bug list http://bugs.lifetype.net/view.php?id=1336. We should use different filter instance for difference purpose.

** Because we already release 1.2.4, so I have to check in the same fix in tag again.

Modified: plog/tags/lifetype-1.2.4/class/action/addcommentaction.class.php
===================================================================
--- plog/tags/lifetype-1.2.4/class/action/addcommentaction.class.php	2007-07-19 18:24:27 UTC (rev 5686)
+++ plog/tags/lifetype-1.2.4/class/action/addcommentaction.class.php	2007-07-19 18:25:04 UTC (rev 5687)
@@ -51,8 +51,9 @@
 			$this->_request->registerFilter( "userName", $f );
 			$this->_request->registerFilter( "commentTopic", $f );
 
-                // userUrl is a regular HTML filter, in addition to
-                // being forced to look like a URL
+            // userUrl is a regular HTML filter, in addition to
+            // being forced to look like a URL
+			$f = new HtmlFilter();
 			$f->addFilter( new UrlConverter());
 			$this->_request->registerFilter( "userUrl", $f );
 



More information about the pLog-svn mailing list