fixed bug 633314

This commit is contained in:
JT Smith 2002-11-23 04:25:33 +00:00
parent 4776b235c4
commit 0eec68b829
4 changed files with 18 additions and 4 deletions

View file

@ -116,6 +116,7 @@ sub www_edit {
#-------------------------------------------------------------------
sub www_editSave {
return WebGUI::Privilege::insufficient() unless (WebGUI::Privilege::canEditPage());
# return WebGUI::International::get(815).$_[0]->www_edit if ($session{cgi}->cgi_error eq "413 POST too large");
my ($image, $attachment, %property);
$_[0]->SUPER::www_editSave() if ($_[0]->get("wobjectId") eq "new");
$image = WebGUI::Attachment->new("",$_[0]->get("wobjectId"));
@ -130,7 +131,7 @@ sub www_editSave {
$property{linkURL} = $session{form}{linkURL};
$property{allowDiscussion} = $session{form}{allowDiscussion};
$_[0]->SUPER::www_editSave(\%property);
return "";
return "";
}
#-------------------------------------------------------------------