@@ 843-847 (lines=5) @@ | ||
840 | $this->setErrors(sprintf(_XOBJ_ERR_SHORTERTHAN, $k, (int)$v['maxlength'])); |
|
841 | continue 2; |
|
842 | } |
|
843 | if (!$v['not_gpc']) { |
|
844 | $cleanv = $ts->stripSlashesGPC($ts->censorString($cleanv)); |
|
845 | } else { |
|
846 | $cleanv = $ts->censorString($cleanv); |
|
847 | } |
|
848 | break; |
|
849 | case XOBJ_DTYPE_TXTAREA: |
|
850 | if ($v['required'] && '0' != $cleanv && '' == $cleanv) { |
|
@@ 854-858 (lines=5) @@ | ||
851 | $this->setErrors(sprintf(_XOBJ_ERR_REQUIRED, $k)); |
|
852 | continue 2; |
|
853 | } |
|
854 | if (!$v['not_gpc']) { |
|
855 | $cleanv = $ts->stripSlashesGPC($ts->censorString($cleanv)); |
|
856 | } else { |
|
857 | $cleanv = $ts->censorString($cleanv); |
|
858 | } |
|
859 | break; |
|
860 | case XOBJ_DTYPE_SOURCE: |
|
861 | if (!$v['not_gpc']) { |