[pLog-svn] r6524 - plog/branches/lifetype-1.2/class/data/forms
mark at devel.lifetype.net
mark at devel.lifetype.net
Mon Jun 9 04:00:51 EDT 2008
Author: mark
Date: 2008-06-09 04:00:51 -0400 (Mon, 09 Jun 2008)
New Revision: 6524
Modified:
plog/branches/lifetype-1.2/class/data/forms/formvalidator.class.php
Log:
We still need the value but filtered with Textfilter::filterAllHTML()
Modified: plog/branches/lifetype-1.2/class/data/forms/formvalidator.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/data/forms/formvalidator.class.php 2008-06-09 07:32:35 UTC (rev 6523)
+++ plog/branches/lifetype-1.2/class/data/forms/formvalidator.class.php 2008-06-09 08:00:51 UTC (rev 6524)
@@ -110,6 +110,10 @@
$this->_validationResults["$fieldName"] = $validationResult;
if($validationResult)
$this->_fieldValues["$fieldName"] = $fieldValue;
+ else {
+ lt_include( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
+ $this->_fieldValues["$fieldName"] = Textfilter::filterAllHTML( $fieldValue );
+ }
// if one of the validations is false, then cancel the whole thing
$finalValidationResult = $finalValidationResult && $validationResult;
More information about the pLog-svn
mailing list