(quick) Bugfix [979644]; sub www_edit caused fatal error.

This commit is contained in:
Leendert Bottelberghs 2004-06-25 15:23:13 +00:00
parent b64ba471f9
commit e0d4792587

View file

@ -1294,7 +1294,7 @@ sub www_edit {
my $self = shift; my $self = shift;
return WebGUI::Privilege::insufficient() unless ($self->canEdit); return WebGUI::Privilege::insufficient() unless ($self->canEdit);
$session{page}{useAdminStyle} = 1; $session{page}{useAdminStyle} = 1;
my ($self, @p) = @_; my (@p) = @_;
my ($properties, $layout, $privileges, $heading, $helpId, $headingId) = my ($properties, $layout, $privileges, $heading, $helpId, $headingId) =
rearrange([qw(properties layout privileges heading helpId headingId)], @p); rearrange([qw(properties layout privileges heading helpId headingId)], @p);
my ($f, $startDate, $displayTitle, $templatePosition, $endDate); my ($f, $startDate, $displayTitle, $templatePosition, $endDate);