mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
#18623972 : fix xmlQueryFilter to work properly with query filter
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7165 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c41eec1a1a
commit
df0db09758
1 changed files with 1 additions and 2 deletions
|
|
@ -233,8 +233,7 @@
|
||||||
// filter check
|
// filter check
|
||||||
if(count($this->filter_list)) {
|
if(count($this->filter_list)) {
|
||||||
foreach($this->filter_list as $key => $val) {
|
foreach($this->filter_list as $key => $val) {
|
||||||
if(!$this->notnull_list[$key]) continue;
|
$pre_buff .= sprintf('if(isset($args->%s)) { unset($_output); $_output = $this->checkFilter("%s",$args->%s,"%s"); if(!$_output->toBool()) return $_output; } %s',$val->var, $val->var,$val->var,$val->filter,"\n");
|
||||||
$pre_buff .= sprintf('unset($_output); $_output = $this->checkFilter("%s",$args->%s,"%s"); if(!$_output->toBool()) return $_output;%s',$val->var,$val->var,$val->filter,"\n");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue