Ignore:
Timestamp:
Apr 11, 2010, 1:23:53 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Exportování všech zvolených skupin.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/export/export.php

    r443 r444  
    248248      {
    249249        // 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']);     
    251251        $ColumnIndexes = array();
    252252        $ColumnFormat = array();
    253         while($DbRow = $DbResult->fetch_assoc())
     253        while($DbRow = $DbResult2->fetch_assoc())
    254254        {
    255255          $ColumnFormat[$DbRow['ColumnIndex']] = FORMAT_STRING;
     
    283283        {
    284284          $Line = $SourceDBCFile->GetLine($Row);
    285           /*foreach($TranslationTree[$Group['Id']]['Items'] as $GroupItem)
     285          foreach($TranslationTree[$Group['Id']]['Items'] as $GroupItem)
    286286          {
    287287            if(array_key_exists($GroupItem['Id'], $ColumnIndexes) and array_key_exists($Row, $LookupTable))
    288288              $Line[$ColumnIndexes[$GroupItem['Id']]] = $LookupTable[$Row][$GroupItem['Column']];
    289289          }
    290           */
    291290          $NewDBCFile->SetLine($Row, $Line);
    292291         
Note: See TracChangeset for help on using the changeset viewer.