Commit f1cde8c558cb5a9ea51db1a8dbceeed951c81d21
1 parent
75d7fa3a
#3548 removed default document type
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2795 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc
| ... | ... | @@ -30,7 +30,8 @@ function getDocumentType($iFolderID, $iDocumentTypeID, $iDependantDocumentID = n |
| 30 | 30 | |
| 31 | 31 | $sWhereClause = "FDL.folder_id = $iFolderID"; |
| 32 | 32 | $oPatternListBox = & new PatternListBox("$default->document_types_table", "name", "id", "fDocumentTypeID",$sWhereClause); |
| 33 | - $oPatternListBox->setIncludeDefaultValue(true); | |
| 33 | + // #3548 removed default document type | |
| 34 | + $oPatternListBox->setIncludeDefaultValue(false); | |
| 34 | 35 | $oPatternListBox->setFromClause("INNER JOIN $default->folder_doctypes_table AS FDL ON ST.id = FDL.document_type_id"); |
| 35 | 36 | $oPatternListBox->setEmptyErrorMessage("No document types defined! Please contact an Administrator"); |
| 36 | 37 | ... | ... |