From 2e17f48a1942e41e9eaa7cf84b78cd48574a5d2a Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 23 Sep 2003 07:37:18 +0000 Subject: [PATCH] (#3002) fixed unitID checking condition. --- presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc index f5bfc7d..c6a41b8 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc @@ -71,7 +71,7 @@ function getPage($iFolderID, $iDocumentID, $iUnitID, $iUserID, $sDocumentTitle, function getUserDropDown($iUnitID, $iUserID) { global $default; - if (!isset($iUnitID)) { + if (!$iUnitID) { $iUnitID = -1; } $oPatternListBox = & new PatternListBox($default->users_table, "Name", "id", "fUserID", "GUL.unit_id = $iUnitID"); @@ -88,7 +88,7 @@ function getUserDropDown($iUnitID, $iUserID) { function getUnitDropDown($iDocumentID, $iUnitID) { global $default; - if (!isset($iUnitID)) { + if (!$iUnitID) { $iUnitID = -1; } $oPatternListBox = & new PatternListBox($default->units_table, "Name", "id", "fUnitID"); -- libgit2 0.21.4