Index: openacs-4/packages/xotcl-core/tcl/context-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/context-procs.tcl,v diff -u -r1.63.2.5 -r1.63.2.6 --- openacs-4/packages/xotcl-core/tcl/context-procs.tcl 14 Aug 2014 14:51:21 -0000 1.63.2.5 +++ openacs-4/packages/xotcl-core/tcl/context-procs.tcl 18 Aug 2014 12:39:02 -0000 1.63.2.6 @@ -226,7 +226,7 @@ return } - if {[info command ::ds_show_p] ne "" && [ds_database_enabled_p]} { + if {[info exists ::ds_show_p] && [ds_database_enabled_p]} { ::xo::dc profile on }