mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 12:19:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1118 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
77a0d87dfc
commit
428e44d492
4 changed files with 7 additions and 11 deletions
|
|
@ -357,9 +357,7 @@
|
|||
if($this->getColumnType($output->column_type,$name)!='number') {
|
||||
$value = "'".$this->addQuotes($value)."'";
|
||||
if(!$value) $value = 'null';
|
||||
} else {
|
||||
if(!$value) $value = 0;
|
||||
}
|
||||
} elseif(!$value || is_numeric($value)) $value = (int)$value;
|
||||
|
||||
if(strpos($name,'.')===false) $column_list[] = '"'.$name.'"';
|
||||
else $column_list[] = $name;
|
||||
|
|
@ -387,7 +385,7 @@
|
|||
|
||||
$value = $val['value'];
|
||||
if($this->getColumnType($output->column_type,$name)!='number') $value = "'".$this->addQuotes($value)."'";
|
||||
else $value = (int)$value;
|
||||
elseif(!$value || is_numeric($value)) $value = (int)$value;
|
||||
|
||||
if(strpos($name,'.')===false) $name = '"'.$name.'"';
|
||||
$column_list[] = sprintf('%s = %s', $name, $value);
|
||||
|
|
|
|||
|
|
@ -19,8 +19,6 @@
|
|||
**/
|
||||
function printContent(&$oModule) {
|
||||
|
||||
if(!$oModule->getTemplateFile()) return;
|
||||
|
||||
// header 출력
|
||||
$this->_printHeader();
|
||||
|
||||
|
|
|
|||
|
|
@ -317,11 +317,11 @@
|
|||
break;
|
||||
case 'plus' :
|
||||
$args = abs($args);
|
||||
$val = sprintf('%s+%d', $name, $args);
|
||||
$val = sprintf('"%s+%d"', $name, $args);
|
||||
break;
|
||||
case 'minus' :
|
||||
$args = abs($args);
|
||||
$val = sprintf('%s-%d', $name, $args);
|
||||
$val = sprintf('"%s-%d"', $name, $args);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue