Commit e4fbfb4effc1a68d1d77f24aa8f57c8d8f9357a9

Authored by Michael Joseph
1 parent fccfb6b6

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,7 +36,7 @@ function getGroupDisplay($iGroupID) {
36 // else if this is a unit administrator, only display the groups in your unit 36 // else if this is a unit administrator, only display the groups in your unit
37 $oPatternListBox = & new PatternListBox($default->groups_table, "name", "id", "fGroupID"); 37 $oPatternListBox = & new PatternListBox($default->groups_table, "name", "id", "fGroupID");
38 $oPatternListBox->setFromClause("INNER JOIN $default->groups_units_table GUL on ST.id=GUL.group_id"); 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 $oPatternListBox->setIncludeDefaultValue(false); 40 $oPatternListBox->setIncludeDefaultValue(false);
41 } 41 }
42 $oPatternListBox->setPostBackOnChange(true); 42 $oPatternListBox->setPostBackOnChange(true);