1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

EONE-62 (New Feature): More work, getting data should work fine now, still work in progress

This commit is contained in:
secretr
2010-05-05 15:05:32 +00:00
parent 83dd8db01f
commit 4d0be39938
6 changed files with 833 additions and 652 deletions

View File

@@ -655,14 +655,6 @@ class e_validator
return false;
}
if('varchar' == $type && !varset($tmp[1])) $tmp[1] = 255;
if(is_numeric(varset($tmp[1])) && (integer) $tmp[1] < $length)
{
$this->addValidateResult($name, self::ERR_TOO_LONG);
return false;
}
if(!($value[0] && $value[1] && $value[0] == $value[1]))
{
$this->addValidateResult($name, self::ERR_FIELDS_MATCH);