Index: openacs-4/packages/forums/sql/postgresql/forums-messages-package-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/forums/sql/postgresql/forums-messages-package-create.sql,v
diff -u -r1.19 -r1.20
--- openacs-4/packages/forums/sql/postgresql/forums-messages-package-create.sql	12 Aug 2013 09:34:30 -0000	1.19
+++ openacs-4/packages/forums/sql/postgresql/forums-messages-package-create.sql	7 Aug 2017 23:48:11 -0000	1.20
@@ -170,12 +170,12 @@
     where message_id = p_message_id;
 
     update forums_messages
-    set open_p = 't'
+    set open_p = true
     where tree_sortkey between tree_left(v_sortkey) and tree_right(v_sortkey)
     and forum_id = v_forum_id;
 
     update forums_messages
-    set open_p = 't'
+    set open_p = true
     where message_id = p_message_id;
 
     return 0;
@@ -203,12 +203,12 @@
     where message_id = p_message_id;
 
     update forums_messages
-    set open_p = 'f'
+    set open_p = false
     where tree_sortkey between tree_left(v_sortkey) and tree_right(v_sortkey)
     and forum_id = v_forum_id;
 
     update forums_messages
-    set open_p = 'f'
+    set open_p = false
     where message_id = p_message_id;
 
     return 0;
