- Fixed a bug that didn't allow you to search a matrix.

- Fixed a bug in the upgrade that caused template problems with the WebGUI 6
   template if anyone was still using that.
- fixed a documentation bug
This commit is contained in:
JT Smith 2006-07-18 17:08:25 +00:00
parent e718fc5b9a
commit 1bfcf846ce
4 changed files with 7 additions and 14 deletions

View file

@ -285,7 +285,7 @@ sub www_compare {
$var{isTooMany} = (scalar(@cmsList)>$max);
$var{isTooFew} = (scalar(@cmsList)<2);
$var{'compare.form'} = $self->getCompareForm(@cmsList);
$var{'isLoggedIn'} = ($self->session->user->get("userId") ne "1");
$var{'isLoggedIn'} = ($self->session->user->userId ne "1");
if ($var{isTooMany} || $var{isTooFew}) {
return $self->processStyle($self->processTemplate(\%var,$self->get("compareTemplateId")));
}
@ -920,7 +920,7 @@ sub www_search {
$var{isTooFew} = ($count<2);
}
}
$var{'isLoggedIn'} = ($self->session->user->get("userId") ne "1");
$var{'isLoggedIn'} = ($self->session->user->userId ne "1");
$var{'compare.form'} = $self->getCompareForm(@list);
$var{'form.header'} = WebGUI::Form::formHeader($self->session,{action=>$self->getUrl})
.WebGUI::Form::hidden($self->session,{

View file

@ -32,9 +32,9 @@ This package parses the WebGUI config file.
use WebGUI::Config;
WebGUI::Config::loadAllConfigs($webguiRoot);
WebGUI::Config->loadAllConfigs($webguiRoot);
my $configs = WebGUI::Config::readAllConfigs($webguiRoot);
my $configs = WebGUI::Config->readAllConfigs($webguiRoot);
my $config = WebGUI::Config->new($webguiRoot, $configFileName);