From f7fd1a54972fa158198fbc44c3128eee8c2efe11 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 16 May 2024 00:40:00 +0100 Subject: [PATCH] and more.. --- OpenSim/Data/PGSQL/PGSQLManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Data/PGSQL/PGSQLManager.cs b/OpenSim/Data/PGSQL/PGSQLManager.cs index 8c35bd2a6b..ef9d95eb39 100644 --- a/OpenSim/Data/PGSQL/PGSQLManager.cs +++ b/OpenSim/Data/PGSQL/PGSQLManager.cs @@ -293,7 +293,7 @@ namespace OpenSim.Data.PGSQL //HACK if object is null, it is turned into a string, there are no nullable type till now NpgsqlParameter parameter = new NpgsqlParameter(parameterName, NpgsqlDbType.Bytea); parameter.Direction = ParameterDirection.Input; - parameter.Value = null; + parameter.Value = DBNull.Value; return parameter; }