Commit b780c932 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Import : gestion des NULL pour les colonnes chaînes de caractères

parent 71c49b34
Loading
Loading
Loading
Loading
+4
Changes for module/Import/src/Import/Service/DbServiceSQLGenerator.php: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -102,6 +102,10 @@ class DbServiceSQLGenerator

    private function prepareString($value)
    {
        if ($value === null) {
            return 'NULL';
        }

        return $this->databasePlatform->quoteStringLiteral($value);
    }