Commit bfa21f531eb298b8dbdc129a9357281a8f0c9e85

Authored by michaeljoseph
1 parent ab5f71eb

Corrected SQL keyword case.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2907 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/administration/usermanagement/listUsersUI.inc
... ... @@ -36,7 +36,7 @@ function getGroupDisplay($iGroupID) {
36 36 // else if this is a unit administrator, only display the groups in your unit
37 37 $oPatternListBox = & new PatternListBox($default->groups_table, "name", "id", "fGroupID");
38 38 $oPatternListBox->setFromClause("INNER JOIN $default->groups_units_table GUL on ST.id=GUL.group_id");
39   - $oPatternListBox->setWhereClause("GUL.unit_id in (" . implode(",", User::getUnitIDs($_SESSION["userID"])) . ")");
  39 + $oPatternListBox->setWhereClause("GUL.unit_id IN (" . implode(",", User::getUnitIDs($_SESSION["userID"])) . ")");
40 40 $oPatternListBox->setIncludeDefaultValue(false);
41 41 }
42 42 $oPatternListBox->setPostBackOnChange(true);
... ...