From e4fbfb4effc1a68d1d77f24aa8f57c8d8f9357a9 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Thu, 12 Aug 2004 14:39:18 +0000 Subject: [PATCH] Corrected SQL keyword case. --- presentation/lookAndFeel/knowledgeTree/administration/usermanagement/listUsersUI.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/lookAndFeel/knowledgeTree/administration/usermanagement/listUsersUI.inc b/presentation/lookAndFeel/knowledgeTree/administration/usermanagement/listUsersUI.inc index 7f1567e..80a53bc 100644 --- a/presentation/lookAndFeel/knowledgeTree/administration/usermanagement/listUsersUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/administration/usermanagement/listUsersUI.inc @@ -36,7 +36,7 @@ function getGroupDisplay($iGroupID) { // else if this is a unit administrator, only display the groups in your unit $oPatternListBox = & new PatternListBox($default->groups_table, "name", "id", "fGroupID"); $oPatternListBox->setFromClause("INNER JOIN $default->groups_units_table GUL on ST.id=GUL.group_id"); - $oPatternListBox->setWhereClause("GUL.unit_id in (" . implode(",", User::getUnitIDs($_SESSION["userID"])) . ")"); + $oPatternListBox->setWhereClause("GUL.unit_id IN (" . implode(",", User::getUnitIDs($_SESSION["userID"])) . ")"); $oPatternListBox->setIncludeDefaultValue(false); } $oPatternListBox->setPostBackOnChange(true); -- libgit2 0.21.4