Explorar o código

* Patch from Ido <[email protected]> to fix AsString for booleanfield

git-svn-id: trunk@5312 -
michael %!s(int64=19) %!d(string=hai) anos
pai
achega
ed9a52a07a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      fcl/db/db.pp

+ 1 - 1
fcl/db/db.pp

@@ -30,7 +30,7 @@ const
 
   // Used in AsBoolean for string fields to determine
   // whether it's true or false.
-  YesNoChars : Array[Boolean] of char = ('Y','N');
+  YesNoChars : Array[Boolean] of char = ('N', 'Y');
 
   SQLDelimiterCharacters = [';',',',' ','(',')',#13,#10,#9];