Adding fix for #2813, dbo_oracle.php's value function adding additional quotes

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5414 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-07-09 02:57:56 +00:00
parent d83a705dc3
commit 38bf760524

View file

@ -548,6 +548,9 @@ class DboOracle extends DboSource {
break;
default:
$data2 = str_replace("'", "''", $data);
if (is_numeric($data)) {
return $data2;
}
return "'".$data2."'";
break;
}