mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
17373170 * 쿼리 조건 값이 string, integer 일 경우만 조건을 설정하도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4629 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
84b4b3e50b
commit
357807a2f3
8 changed files with 60 additions and 37 deletions
|
|
@ -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'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue