Commit e4fbfb4effc1a68d1d77f24aa8f57c8d8f9357a9
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
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 | 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); | ... | ... |