[pLog-svn] r671 - plog/trunk/class/action

oscar at devel.plogworld.net oscar at devel.plogworld.net
Tue Jan 4 19:53:28 GMT 2005


Author: oscar
Date: 2005-01-04 19:53:28 +0000 (Tue, 04 Jan 2005)
New Revision: 671

Modified:
   plog/trunk/class/action/addcommentaction.class.php
Log:
fixed a small issue (see mantis bug #118)

Modified: plog/trunk/class/action/addcommentaction.class.php
===================================================================
--- plog/trunk/class/action/addcommentaction.class.php	2005-01-04 17:38:33 UTC (rev 670)
+++ plog/trunk/class/action/addcommentaction.class.php	2005-01-04 19:53:28 UTC (rev 671)
@@ -74,7 +74,7 @@
                 $this->_parentId = 0;
             $this->_userEmail = trim($this->_request->getValue( "userEmail" ));
             $this->_userUrl   = trim($this->_request->getValue( "userUrl" ));
-			if( substr($this->_userUrl, 1, 7 ) != "http://" )
+			if( substr($this->_userUrl, 0, 7 ) != "http://" )
 				$this->_userUrl = "http://".$this->_userUrl;
             $this->_userName  = trim($this->_request->getValue( "userName" ));
             $this->_commentText = trim($this->_request->getValue( "commentText" ));




More information about the pLog-svn mailing list