Changeset 526 for trunk/export/export.php
- Timestamp:
- Feb 20, 2013, 11:45:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export.php
r525 r526 35 35 $this->UserNames = substr($this->UserNames, 2); 36 36 37 $DbResult = $this->Database->query('SELECT * FROM `ClientVersion` WHERE `Id`='.$this->Export['ClientVersion']); 38 $this->ClientVersion = $DbResult->fetch_assoc(); 37 if($this->Export['ClientVersion'] != '') 38 { 39 $DbResult = $this->Database->query('SELECT * FROM `ClientVersion` WHERE `Id`='.$this->Export['ClientVersion']); 40 $this->ClientVersion = $DbResult->fetch_assoc(); 41 } else $this->ClientVersion = ''; 39 42 } 40 43 41 44 function BuildQuery($Group, $Columns = '', $Version = '') 42 45 { 43 global $TranslationTree ;46 global $TranslationTree, $Config; 44 47 45 48 if ($Version <> '') … … 140 143 global $Config, $TranslationTree, $AoWoWconf; 141 144 142 require_once('../aowow/configs/config.php');145 //require_once('../aowow/configs/config.php'); 143 146 144 147 $Buffer = $this->ExportToMangosSQL(); … … 196 199 global $TranslationTree, $User; 197 200 198 $this->LoadFilters( $this->Id);201 $this->LoadFilters(); 199 202 200 203 $Buffer = '<?xml version="1.0" encoding="utf-8"?>'."\n".
Note:
See TracChangeset
for help on using the changeset viewer.