Changeset 549 for trunk/save.php
- Timestamp:
- Jun 18, 2013, 8:30:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/save.php
r536 r549 8 8 9 9 unset($Message); 10 HandleLoginForm();10 $System->ModuleManager->Modules['FrontPage']->HandleLoginForm(); 11 11 if(isset($Message)) $Output .= ShowMessage($Message, $MessageType); 12 12 … … 31 31 32 32 // Get data for english original 33 $DbResult = $System->Database->query('SELECT * FROM `'.$Table.'` WHERE (`Entry`='.$SourceText['Entry'].') AND (`Language` = '.$Config['OriginalLanguage'].') AND (`VersionStart` = '.$SourceText['VersionStart'].') AND (`VersionEnd` = '.$SourceText['VersionEnd'].')'); 33 $DbResult = $System->Database->query('SELECT * FROM `'.$Table.'` WHERE (`Entry`='.$SourceText['Entry']. 34 ') AND (`Language` = '.$Config['OriginalLanguage'].') AND (`VersionStart` = '.$SourceText['VersionStart']. 35 ') AND (`VersionEnd` = '.$SourceText['VersionEnd'].')'); 34 36 if($DbResult->num_rows > 0) 35 37 { … … 47 49 { 48 50 // Get user translation paired to found english item entry 49 $DbResult2 = $System->Database->query('SELECT * FROM `'.$Table.'` WHERE (`User` = '.$User->Id.') AND (`Entry` = '.$EnglishFound['Entry'].') AND (`VersionStart` = '.$EnglishFound['VersionStart'].') AND (`VersionEnd` = '.$EnglishFound['VersionEnd'].')'); 51 $DbResult2 = $System->Database->query('SELECT * FROM `'.$Table.'` WHERE (`User` = '.$User->Id. 52 ') AND (`Entry` = '.$EnglishFound['Entry'].') AND (`VersionStart` = '.$EnglishFound['VersionStart']. 53 ') AND (`VersionEnd` = '.$EnglishFound['VersionEnd'].')'); 50 54 if($DbResult2->num_rows > 0) 51 55 {
Note:
See TracChangeset
for help on using the changeset viewer.