From 9fafa25bf55c134477a59930142daa931c8228ac Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 9 Aug 2010 15:26:19 -0700 Subject: [PATCH] Give ZipArchives a default template. Fixes bug #11769. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/File/ZipArchive.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 52196c685..1c73f9b7e 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -6,6 +6,7 @@ - fixed #11765: WebGUI/Asset/Wobject/Navigation.pm still uses obsolete PBtmpl0000000000000048 - fixed #11766: Userlist problem / WebGUI 7.8.24 - fixed #11759: email template missing + - fixed #11769: WebGUI::Asset::File::ZipArchive specifies a default template of '' 7.9.10 - fixed #11721: spamStopWords not in WebGUI.conf.original diff --git a/lib/WebGUI/Asset/File/ZipArchive.pm b/lib/WebGUI/Asset/File/ZipArchive.pm index 82dbd2f85..d4c5454d1 100644 --- a/lib/WebGUI/Asset/File/ZipArchive.pm +++ b/lib/WebGUI/Asset/File/ZipArchive.pm @@ -145,7 +145,7 @@ sub definition { label=>$i18n->get('template label'), namespace=>"ZipArchiveAsset", fieldType=>'template', - defaultValue=>'' + defaultValue=>'ZipArchiveTMPL00000001', }, } });