Ignore:
Timestamp:
Mar 16, 2014, 11:15:43 AM (10 years ago)
Author:
chronos
Message:
  • Added: Module Redirection responsible for redirection of old pages to new valid address.
  • Fixed: Error on client version item display if id was not specified.
  • Fixed: Error on silent application module reregistration.
  • Removed: White space on end of lines in some files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Translation/Save.php

    r727 r800  
    2525                        $Language = $_POST['Language'] * 1;
    2626                        if(array_key_exists('End', $_POST)) $Complete = 1;
    27                         else $Complete = 0;
     27                          else $Complete = 0;
    2828       
    2929                        // Get source text record from database by ID
     
    3434       
    3535                                // 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'].')');
    3939                                if($DbResult->num_rows > 0)
    4040                                {
Note: See TracChangeset for help on using the changeset viewer.