mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
#425 UPDATE에 중복 컬럼 설정 문제를 DB 모듈에서 일단 보완하도록 수정합니다
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3783 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c48762e43f
commit
50a12759ca
1 changed files with 4 additions and 0 deletions
|
|
@ -464,6 +464,10 @@
|
|||
if(!isset($val['value'])) continue;
|
||||
$name = $val['name'];
|
||||
$value = $val['value'];
|
||||
for ($i = 0; $i < $key; $i++) { // 한문장에 같은 속성에 대한 중복 설정은 큐브리드에서는 허용치 않음
|
||||
if ($output->columns[$i]['name'] == $name) break;
|
||||
}
|
||||
if ($i < $key) continue; // 중복이 발견되면 이후의 설정은 무시
|
||||
if(strpos($name,'.')!==false&&strpos($value,'.')!==false) $column_list[] = $name.' = '.$value;
|
||||
else {
|
||||
if($output->column_type[$name]!='number') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue