diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index ee9f574f7..42f7093a4 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -42,6 +42,7 @@ - It was possible to run multiple singleton workflows at the same time. - fixed: WebGUI Password Recovery email subject hard-coded - rfe: Add url to list of attributes tracked in assetHistory + - fixed: Article now only allows 2 files to be uploaded 7.5.22 - fixed: Layout template now gets prepared correctly diff --git a/lib/WebGUI/Asset/Wobject/Article.pm b/lib/WebGUI/Asset/Wobject/Article.pm index 04e0c1996..38d349468 100644 --- a/lib/WebGUI/Asset/Wobject/Article.pm +++ b/lib/WebGUI/Asset/Wobject/Article.pm @@ -124,7 +124,7 @@ sub definition { tab=>"properties", fieldType=>"image", deleteFileUrl=>$session->url->page("func=deleteFile;filename="), - maxAttachments=>25, + maxAttachments=>2, defaultValue=>undef, label=>$i18n->get("attachments"), hoverHelp=>$i18n->get("attachments help") @@ -306,7 +306,7 @@ sub view { }); } } - $var{description} = $self->get("description"); + $var{description} = $self->get("description"); $var{"new.template"} = $self->getUrl("func=view").";overrideTemplateId="; $var{"description.full"} = $var{description}; $var{"description.full"} =~ s/\^\-\;//g;