Index: openacs-4/packages/acs-templating/tcl/form-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/form-procs.tcl,v diff -u -r1.45.2.4 -r1.45.2.5 --- openacs-4/packages/acs-templating/tcl/form-procs.tcl 11 Oct 2013 08:12:31 -0000 1.45.2.4 +++ openacs-4/packages/acs-templating/tcl/form-procs.tcl 13 Oct 2013 10:03:24 -0000 1.45.2.5 @@ -159,7 +159,7 @@ set formaction [get_action $id] # If we were in display mode, and a button was clicked, we should be in edit mode now - if { $submission && [string equal [ns_queryget "form:mode"] "display"] } { + if { $submission && [ns_queryget "form:mode"] eq "display" } { set opts(mode) "edit" set submission 0 }