From 57fc590125e89d31b6b115de8c21ddeda0ce3f90 Mon Sep 17 00:00:00 2001 From: nbm Date: Sun, 27 Nov 2005 21:19:58 +0000 Subject: [PATCH] Use fieldsetsForDocument to get all the fields to edit. --- presentation/lookAndFeel/knowledgeTree/documentmanagement/editDocument.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/editDocument.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/editDocument.php index 902af17..41fa0c9 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/editDocument.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/editDocument.php @@ -171,7 +171,8 @@ class KTEditDocumentDispatcher extends KTStandardDispatcher { // FIXME handle true generic document DATA (e.g. title). - $activesets = KTFieldset::getGenericFieldsets(); + // $activesets = KTFieldset::getGenericFieldsets(); + $activesets =& KTMetadataUtil::fieldsetsForDocument($oDocument); foreach ($activesets as $oFieldset) { array_push($fieldsets, $oFieldset); } -- libgit2 0.21.4