From e85bada3d83bc541841ce4b78f488e31134db98a Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Thu, 27 Nov 2003 11:24:40 +0000 Subject: [PATCH] #3548 removed default document type --- presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc index 2de6d12..43491c8 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc @@ -30,7 +30,8 @@ function getDocumentType($iFolderID, $iDocumentTypeID, $iDependantDocumentID = n $sWhereClause = "FDL.folder_id = $iFolderID"; $oPatternListBox = & new PatternListBox("$default->document_types_table", "name", "id", "fDocumentTypeID",$sWhereClause); - $oPatternListBox->setIncludeDefaultValue(true); + // #3548 removed default document type + $oPatternListBox->setIncludeDefaultValue(false); $oPatternListBox->setFromClause("INNER JOIN $default->folder_doctypes_table AS FDL ON ST.id = FDL.document_type_id"); $oPatternListBox->setEmptyErrorMessage("No document types defined! Please contact an Administrator"); -- libgit2 0.21.4