Not changing to NULL strings.

This commit is contained in:
Juan Basso 2011-05-23 23:10:44 -04:00
parent 0ae9974b3f
commit a744a74f1e

View file

@ -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) {