[chronojump] Minor fix to prevent errors loading persons



commit 85702f1a8a43b2d6ada0267cf76d582ad745b41e
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Feb 9 13:32:25 2018 +0100

    Minor fix to prevent errors loading persons

 src/sqlite/person.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/sqlite/person.cs b/src/sqlite/person.cs
index aa25145..e1bb689 100644
--- a/src/sqlite/person.cs
+++ b/src/sqlite/person.cs
@@ -102,7 +102,7 @@ class SqlitePerson : Sqlite
                if(! dbconOpened)
                        Sqlite.Open();
 
-               dbcmd.CommandText = "SELECT * FROM " + Constants.PersonTable + whereStr;
+               dbcmd.CommandText = "SELECT * FROM " + Constants.PersonTable + " " + whereStr;
                
                LogB.SQL(dbcmd.CommandText.ToString());
                dbcmd.ExecuteNonQuery();


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