[chronojump] Fixed tagSession insert string



commit fe82ea1644471cf5f3afd290d19a4ed6895e2347
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Dec 1 11:59:45 2020 +0100

    Fixed tagSession insert string

 src/sqlite/tagSession.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/sqlite/tagSession.cs b/src/sqlite/tagSession.cs
index 48d92fd0..be0de32b 100644
--- a/src/sqlite/tagSession.cs
+++ b/src/sqlite/tagSession.cs
@@ -55,7 +55,7 @@ class SqliteTagSession : Sqlite
 
                dbcmd.CommandText = "INSERT INTO " + table +
                                " (uniqueID, name, color, comments)" +
-                               " VALUES " + insertString;
+                               " VALUES (" + insertString + ")";
                LogB.SQL(dbcmd.CommandText.ToString());
                dbcmd.ExecuteNonQuery();
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]