Changeset 851 for trunk/Modules/User/UserList.php
- Timestamp:
- Jan 17, 2016, 10:07:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/UserList.php
r843 r851 20 20 { 21 21 $TeamId = $_GET['team'] * 1; 22 $DbResult = $this->Database->select('Team', 'Name', ' Id='.$TeamId);22 $DbResult = $this->Database->select('Team', 'Name', '`Id`='.$TeamId); 23 23 if($DbResult->num_rows > 0) 24 24 { 25 25 $Team = $DbResult->fetch_assoc(); 26 $Output .= '<h3>'.sprintf(T('Users in team %s'), $Team['Name']).'</h3>';26 $Output .= '<h3>'.sprintf(T('Users in team %s'), htmlspecialchars($Team['Name'])).'</h3>'; 27 27 $TeamFilter = ' AND (`Team`='.$_GET['team'].')'; 28 28 } else {
Note:
See TracChangeset
for help on using the changeset viewer.