Index: openacs-4/packages/dotlrn/www/configure-element.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/configure-element.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/dotlrn/www/configure-element.tcl 9 Nov 2001 18:13:26 -0000 1.1 +++ openacs-4/packages/dotlrn/www/configure-element.tcl 1 Dec 2001 23:16:27 -0000 1.2 @@ -41,10 +41,10 @@ # this not a community, it is the "workspace" deal # Get the page - set page_id [db_string select_page_id {} -default ""] + set portal_id [db_string select_portal_id {} -default ""] - # If there is no page_id, this user is either a guest or something else - if {[empty_string_p $page_id]} { + # If there is no portal_id, this user is either a guest or something else + if {[empty_string_p $portal_id]} { # do something ad_returnredirect "/." } else {