mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 07:52:13 +09:00
issue 77 Remove PHP 5.3.x deprecated features
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8599 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3fe79a4d1c
commit
61e00415d6
16 changed files with 42 additions and 40 deletions
|
|
@ -569,7 +569,7 @@ class DBPostgresql extends DB
|
|||
}
|
||||
// sql injection 문제로 xml 선언이 number인 경우이면서 넘어온 값이 숫자형이 아니면 숫자형으로 강제 형변환
|
||||
// elseif (!$value || is_numeric($value)) $value = (int)$value;
|
||||
else $this->_filterNumber(&$value);
|
||||
else $this->_filterNumber($value);
|
||||
|
||||
$column_list[] = $name;
|
||||
$value_list[] = $value;
|
||||
|
|
@ -602,7 +602,7 @@ class DBPostgresql extends DB
|
|||
if ($output->column_type[$name] != 'number')
|
||||
$value = "'" . $this->addQuotes($value) . "'";
|
||||
// sql injection 문제로 xml 선언이 number인 경우이면서 넘어온 값이 숫자형이 아니면 숫자형으로 강제 형변환
|
||||
else $this->_filterNumber(&$value);
|
||||
else $this->_filterNumber($value);
|
||||
|
||||
$column_list[] = sprintf("%s = %s", $name, $value);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue