Changeset 445 for trunk/export/create_addon.php
- Timestamp:
- Apr 11, 2010, 4:24:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/create_addon.php
r407 r445 107 107 while($Group = $DbResult->fetch_assoc()) 108 108 { 109 $ID = $this->Database->query('SELECT LastVersion FROM `Group` WHERE Id = '.$Group['Id']); 110 $LastVersion = $ID->fetch_assoc(); 111 112 if ($LastVersion['LastVersion'] < $this->ClientVersion['BuildNumber']) 113 $ExportVersion = $LastVersion['LastVersion']; 114 else $ExportVersion = ''; 115 109 116 foreach($TranslationTree[$Group['Id']]['Items'] as $Column) 110 117 if($Column['AddonFileName'] != '') … … 123 130 $Buffer = 'CZWOW_'.$Column['AddonFileName'].'_count='.$FileIndex.';CZWOW_'.$Column['AddonFileName'].'_'.$FileIndex.'={'; 124 131 125 $DbResult2 = $this->Database->query($this->BuildQuery($Group ));132 $DbResult2 = $this->Database->query($this->BuildQuery($Group,'',$ExportVersion)); 126 133 127 134 while($Line = $DbResult2->fetch_assoc())
Note:
See TracChangeset
for help on using the changeset viewer.