17373170 * 쿼리 조건 값이 string, integer 일 경우만 조건을 설정하도록 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4629 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2008-10-16 13:59:15 +00:00
parent 84b4b3e50b
commit 357807a2f3
8 changed files with 60 additions and 37 deletions

View file

@ -368,10 +368,12 @@
function getCondition($output) {
if(!$output->conditions) return;
foreach($output->conditions as $key => $val) {
foreach($output->conditions as $val) {
$sub_condition = '';
foreach($val['condition'] as $k =>$v) {
if(!isset($v['value']) || $v['value'] === '') continue;
foreach($val['condition'] as $v) {
if(!isset($v['value'])) continue;
if($v['value'] === '') continue;
if(!in_array(gettype($v['value']), array('string', 'integer'))) continue;
$name = $v['column'];
$operation = $v['operation'];