Changeset 302 for trunk/includes/global.php
- Timestamp:
- Dec 29, 2009, 12:58:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r297 r302 58 58 if(Licence(LICENCE_USER)) 59 59 { 60 $DbResult = $Database->SQLCommand('SELECT team, userFROM `user` WHERE ID='.$_SESSION['UserID']);60 $DbResult = $Database->SQLCommand('SELECT `team`, `user` FROM `user` WHERE ID='.$_SESSION['UserID']); 61 61 $User = mysql_fetch_assoc($DbResult); 62 $DbResult = $Database->SQLCommand('SELECT ID, name FROM `team` WHERE ID='.$User['team']);62 $DbResult = $Database->SQLCommand('SELECT `Id`, `Name` FROM `Team` WHERE Id='.$User['team']); 63 63 $Team = mysql_fetch_assoc($DbResult); 64 64
Note:
See TracChangeset
for help on using the changeset viewer.