diff createdb.php @ 72:63a6caf59e5c

Fix creation of boolean settings, and add '%b' formatter into stPrepareSQL().
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 17 Oct 2013 15:01:20 +0300
parents 23eba98e1575
children c70c2650f790
line wrap: on
line diff
--- a/createdb.php	Fri Oct 11 09:33:16 2013 +0300
+++ b/createdb.php	Thu Oct 17 15:01:20 2013 +0300
@@ -215,7 +215,7 @@
     {
       case VT_TEXT: $type = "%s"; $var = "vtext"; break;
       case VT_STR:  $type = "%s"; $var = "vstr"; break;
-      case VT_BOOL: $type = "%B"; $var = "vint"; break;
+      case VT_BOOL: $type = "%b"; $var = "vint"; break;
       case VT_INT:  $type = "%d"; $var = "vint"; break;
     }