mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
더블쿼터 처리시 테이블 참조를 '$output->tables'에서 '$output->_tables'로 수정 함
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6706 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
0431960db5
commit
8375388099
1 changed files with 2 additions and 2 deletions
|
|
@ -628,7 +628,7 @@
|
|||
**/
|
||||
function getCondition($output) {
|
||||
if(!$output->conditions) return;
|
||||
$condition = $this->_getCondition($output->conditions,$output->column_type,$output->tables);
|
||||
$condition = $this->_getCondition($output->conditions,$output->column_type,$output->_tables);
|
||||
if($condition) $condition = ' where '.$condition;
|
||||
return $condition;
|
||||
}
|
||||
|
|
@ -799,7 +799,7 @@
|
|||
$left_tables= (array)$output->left_tables;
|
||||
|
||||
foreach($left_tables as $key => $val) {
|
||||
$condition = $this->getLeftCondition($output->left_conditions[$key],$output->column_type,$output->tables);
|
||||
$condition = $this->getLeftCondition($output->left_conditions[$key],$output->column_type,$output->_tables);
|
||||
if($condition){
|
||||
$left_join[] = $val . ' "'.$this->prefix.$output->_tables[$key].'" as "'.$key.'" on (' . $condition . ')';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue