- Made some changes to make WebGUI compatible with the WRE for Windows.

- fix: cacheTimeout not respected as Visitor (Eric Kennedy).
 - fix: Email address with just one character in the user part not accepted
 - fix: Image (file) added to page shows before committing changes
 - fix: Typo in fileImport.pl at line 265 (zxp)
This commit is contained in:
JT Smith 2006-08-16 21:25:27 +00:00
parent da1b2d3581
commit 80ef5e925a
7 changed files with 27 additions and 17 deletions

View file

@ -269,7 +269,7 @@ sub www_setContentPositions {
sub www_view {
my $self = shift;
# slashdot / burst protection hack
if ($self->session->var->get("userId") eq "1" && $self->session->form->param("func") eq "" && $self->session->form->param("op") eq "") {
if ($self->session->var->get("userId") eq "1" && $self->session->form->param() == 0) {
my $check = $self->checkView;
return $check if (defined $check);
my $cache = WebGUI::Cache->new($self->session, "view_".$self->getId);