Index: openacs-4/packages/acs-subsite/www/admin/applications/application-add.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/www/admin/applications/application-add.tcl,v diff -u -r1.14.2.2 -r1.14.2.3 --- openacs-4/packages/acs-subsite/www/admin/applications/application-add.tcl 15 May 2019 18:05:12 -0000 1.14.2.2 +++ openacs-4/packages/acs-subsite/www/admin/applications/application-add.tcl 16 May 2019 08:15:46 -0000 1.14.2.3 @@ -22,7 +22,7 @@ set main_subsite_id [site_node::get_node_id -url "/"] -set main_subsite_p [expr {$node_id == $main_subsite_id}] +set main_subsite_p [expr {[info exists node_id] && $node_id == $main_subsite_id}] set multiple_add_url [export_vars -base multiple-add { return_url }]