Changeset 444 for trunk/export/export.php
- Timestamp:
- Apr 11, 2010, 1:23:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export.php
r443 r444 248 248 { 249 249 // Load string column index list 250 $DbResult = $this->Database->query('SELECT * FROM `GroupItem` JOIN `GroupItemDBC` ON `GroupItem`.`Id` = `GroupItemDBC`.`GroupItem` AND `GroupItemDBC`.`ClientVersion` = '.$this->ClientVersion['Id'].' WHERE `GroupItem`.`Group` = '.$Group['Id']);250 $DbResult2 = $this->Database->query('SELECT * FROM `GroupItem` JOIN `GroupItemDBC` ON `GroupItem`.`Id` = `GroupItemDBC`.`GroupItem` AND `GroupItemDBC`.`ClientVersion` = '.$this->ClientVersion['Id'].' WHERE `GroupItem`.`Group` = '.$Group['Id']); 251 251 $ColumnIndexes = array(); 252 252 $ColumnFormat = array(); 253 while($DbRow = $DbResult ->fetch_assoc())253 while($DbRow = $DbResult2->fetch_assoc()) 254 254 { 255 255 $ColumnFormat[$DbRow['ColumnIndex']] = FORMAT_STRING; … … 283 283 { 284 284 $Line = $SourceDBCFile->GetLine($Row); 285 /*foreach($TranslationTree[$Group['Id']]['Items'] as $GroupItem)285 foreach($TranslationTree[$Group['Id']]['Items'] as $GroupItem) 286 286 { 287 287 if(array_key_exists($GroupItem['Id'], $ColumnIndexes) and array_key_exists($Row, $LookupTable)) 288 288 $Line[$ColumnIndexes[$GroupItem['Id']]] = $LookupTable[$Row][$GroupItem['Column']]; 289 289 } 290 */291 290 $NewDBCFile->SetLine($Row, $Line); 292 291
Note:
See TracChangeset
for help on using the changeset viewer.