Index: openacs-4/packages/acs-templating/www/doc/demo/user-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/user-edit.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-templating/www/doc/demo/user-edit.tcl 20 Feb 2002 21:07:13 -0000 1.3 +++ openacs-4/packages/acs-templating/www/doc/demo/user-edit.tcl 10 Jan 2007 21:22:13 -0000 1.4 @@ -19,7 +19,7 @@ set user_search [element get_value user_search user_search] # the main logic depends on whether the request includes a user ID or not. -if { ! [string equal $user_id {}] } { +if { $user_id ne {} } { # the request included a user ID set display "user_edit" @@ -28,7 +28,7 @@ # handle a missing user ID - if { [string equal $user_search {}] } { + if {$user_search eq {}} { # no user search string returned. set display "user_search" @@ -79,7 +79,7 @@ } # return without instantiating the edit form if we don't know the user_id yet -if { $display != "user_edit" } { +if { $display ne "user_edit" } { return }