From 5cdcf892bffa0346295be8da869d102e30b818b0 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 28 Oct 2008 18:15:43 +0000 Subject: [PATCH] fixed: site starter fails after site style page --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Content/Setup.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index ca58d2d35..2d8492d2d 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.6.2 + - fixed: site starter fails after site style page - fixed #8829: moveUp.gif, moveDown.gif missing from uploads - fixed #8980: possible to execute arbitrary perl code as any user that can upload files - added extras to user profile fields. these can be accessed using the diff --git a/lib/WebGUI/Content/Setup.pm b/lib/WebGUI/Content/Setup.pm index ff277c295..31b4661c0 100644 --- a/lib/WebGUI/Content/Setup.pm +++ b/lib/WebGUI/Content/Setup.pm @@ -300,7 +300,7 @@ a:visited { color: '.$form->get("visitedLinkColor").'; } $f->yesNo(name=>"aboutUs",label=>$i18n->get("About Us")); $f->HTMLArea(name=>"aboutUsContent", richEditId=>"PBrichedit000000000002", value=>$i18n->get("Put your about us content here.")); - if (isIn("WebGUI::Asset::Wobject::Collaboration", @{$session->config->get("assets")})) { + if (exists $session->config->get('assets')->{"WebGUI::Asset::Wobject::Collaboration"}) { $f->yesNo(name=>"news",label=>$i18n->get(357)); $f->yesNo(name=>"forums",label=>$i18n->get("Forums")); $f->textarea(name=>"forumNames",subtext=>$i18n->get("One forum name per line"),