mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 09:52:17 +09:00
issue 2079
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11033 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
18bb1ba4bf
commit
4492b4c774
3 changed files with 19 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ class Validator
|
|||
$fields = array_map(array($this, 'arrayTrim'), $fields);
|
||||
$field_names = array_keys($fields);
|
||||
|
||||
$filters = $this->_filters;
|
||||
$filters = array();
|
||||
|
||||
// get field names matching patterns
|
||||
foreach($this->_filters as $key=>$filter) {
|
||||
|
|
@ -210,6 +210,10 @@ class Validator
|
|||
$filters[substr($key,0,-2)] = $filter;
|
||||
unset($filters[$key]);
|
||||
}
|
||||
else
|
||||
{
|
||||
$filters[$key] = $filter;
|
||||
}
|
||||
|
||||
if(!count($names)) continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue