$this->val = array($index);
} else {
$indexes = DirEnum::getIDs($this->direnum, $ufb->s($this->envfield),
- $ufb->i('exact') ? DirEnumeration::MODE_EXACT : DirEnumeration::MODE_CONTAINS);
+ $ufb->i('exact') ? XDB::WILDCARD_EXACT : XDB::WILDCARD_CONTAINS);
if (count($indexes) == 0) {
return false;
}
if (S::admin() && strpos($s, '@') !== false) {
return new UFC_Email($s);
} else if (S::admin() && preg_match('/[0-9]+\.([0-9]+|%)\.([0-9]+|%)\.([0-9]+|%)/', $s)) {
- // TODO: create UFC_Ip
-// $this->conds->addChild(new UFC_Ip($s));
+ $this->conds->addChild(new UFC_Ip($s));
return;
}