Commit bfa21f531eb298b8dbdc129a9357281a8f0c9e85
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
Showing
1 changed file
with
1 additions
and
1 deletions
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); |