Changeset 381 for trunk/includes/global_function.php
- Timestamp:
- Mar 13, 2010, 9:42:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global_function.php
r380 r381 232 232 233 233 $Result = array(); 234 $DbResult = $Database->SQLCommand('SELECT * FROM `Group` ORDER BY `Name`');234 $DbResult = $Database->SQLCommand('SELECT *, UNIX_TIMESTAMP(`LastImport`) AS `LastImportTime` FROM `Group` ORDER BY `Name`'); 235 235 while($DbRow = mysql_fetch_assoc($DbResult)) 236 236 { … … 238 238 $Result[$DbRow['Id']] = $DbRow; 239 239 } 240 $DbResult = $Database->SQLCommand('SELECT * FROM `GroupItem` ORDER BY DBCColumnIndex');240 $DbResult = $Database->SQLCommand('SELECT * FROM `GroupItem` ORDER BY `DBCColumnIndex`'); 241 241 while($DbRow = mysql_fetch_assoc($DbResult)) 242 242 {
Note:
See TracChangeset
for help on using the changeset viewer.