Changeset 800 for trunk/Modules/Translation
- Timestamp:
- Mar 16, 2014, 11:15:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Translation/Save.php
r727 r800 25 25 $Language = $_POST['Language'] * 1; 26 26 if(array_key_exists('End', $_POST)) $Complete = 1; 27 else $Complete = 0;27 else $Complete = 0; 28 28 29 29 // Get source text record from database by ID … … 34 34 35 35 // Get data for english original 36 $DbResult = $this->Database->query('SELECT * FROM `'.$Table.'` WHERE (`Entry`='.$SourceText['Entry']. 37 ') AND (`Language` = '.$this->System->Config['OriginalLanguage'].') AND (`VersionStart` = '.$SourceText['VersionStart'].38 ')AND (`VersionEnd` = '.$SourceText['VersionEnd'].')');36 $DbResult = $this->Database->query('SELECT * FROM `'.$Table.'` WHERE (`Entry`='.$SourceText['Entry'].') '. 37 'AND (`Language` = '.$this->System->Config['OriginalLanguage'].') AND (`VersionStart` = '.$SourceText['VersionStart'].') '. 38 'AND (`VersionEnd` = '.$SourceText['VersionEnd'].')'); 39 39 if($DbResult->num_rows > 0) 40 40 {
Note:
See TracChangeset
for help on using the changeset viewer.