Index: openacs-4/packages/acs-tcl/tcl/json-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/json-procs.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/acs-tcl/tcl/json-procs.tcl 7 Aug 2017 23:47:59 -0000 1.7 +++ openacs-4/packages/acs-tcl/tcl/json-procs.tcl 1 Oct 2017 12:16:05 -0000 1.8 @@ -443,7 +443,7 @@ The Ilias RTE JavaScript returns '' rather than null for JS null variables. } { - switch $value { + switch -- $value { false { return 0 } true { return 1 } null -