Commit 49c7a1fdb3a3f54c08fc46274dda8e27c81f01e5

Authored by David RENÉ
1 parent a66ad216

[-] fix the bind_String_or_NULL to not handle the empty string as NULL

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
database/db_binds.anubis
@@ -59,7 +59,7 @@ public define SQLite3Bind @@ -59,7 +59,7 @@ public define SQLite3Bind
59 String name, 59 String name,
60 String value 60 String value
61 )= 61 )=
62 - if value = "" | value = "{NULL}" then 62 + if value = "{NULL}" then
63 bind_NULL(name) 63 bind_NULL(name)
64 else 64 else
65 bind_String(name, value). 65 bind_String(name, value).