mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
r7692 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7751 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
aab2e14714
commit
5c1391e06e
1 changed files with 8 additions and 2 deletions
|
|
@ -437,9 +437,15 @@
|
|||
foreach($output->columns as $key => $val) {
|
||||
$name = $val['name'];
|
||||
$value = $val['value'];
|
||||
|
||||
if($output->column_type[$name]!='number') {
|
||||
$value = "'".$this->addQuotes($value)."'";
|
||||
if(!$value) $value = 'null';
|
||||
$value = $this->addQuotes($value);
|
||||
if($value){
|
||||
$value = "'".$this->addQuotes($value)."'";
|
||||
}else{
|
||||
$value = 'null';
|
||||
}
|
||||
|
||||
} elseif(!$value || is_numeric($value)) $value = (int)$value;
|
||||
|
||||
$column_list[] = '`'.$name.'`';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue