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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user