diff --git a/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/editDocFieldBL.php b/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/editDocFieldBL.php index 03b5b7e..bef324f 100644 --- a/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/editDocFieldBL.php +++ b/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/editDocFieldBL.php @@ -48,6 +48,7 @@ if (checkSession()) { if (DocumentField::getLookupCount($fDocFieldID) == 0) { // then redirect to the edit metadata page controllerRedirect("addMetaDataForField", "fDocFieldID=$fDocFieldID"); + exit; } } // otherwise, go to the list page