mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Not changing to NULL strings.
This commit is contained in:
parent
0ae9974b3f
commit
a744a74f1e
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ class Sqlserver extends DboSource {
|
|||
if ($column === 'float' && strpos($data, '.') !== false) {
|
||||
return rtrim($data, '0');
|
||||
}
|
||||
if ($parent === "''") {
|
||||
if ($parent === "''" && ($column === null || $column !== 'string')) {
|
||||
return 'NULL';
|
||||
}
|
||||
if ($parent != null) {
|
||||
|
|
Loading…
Reference in a new issue