Ignore:
Timestamp:
Sep 11, 2013, 11:30:14 PM (11 years ago)
Author:
chronos
Message:
  • Fixed: Various errors related to old global variables.
File:
1 edited

Legend:

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

    r550 r579  
    4040        function Show()
    4141        {
    42                 global $User, $Config, $TranslationTree;
     42                global $TranslationTree;
    4343       
    4444    $Output = 'Text je porovnáván vždy ku předešlému (vlevo). Změny jsou zvýrazněny <span class="edit">barvou.</span><br /><br />';
     
    5454                                $TextID1 = $_GET['ID1'];
    5555                                $TextID2 = $_GET['ID2'];
    56                                 $WhereID = ' AND ((`'.$Table.'`.`ID` = '.$TextID1.') OR (`'.$Table.'`.`ID` = '.$TextID2.') OR (`'.$Table.'`.`Language` = '.$Config['OriginalLanguage'].'))';
     56                                $WhereID = ' AND ((`'.$Table.'`.`ID` = '.$TextID1.') OR (`'.$Table.'`.`ID` = '.$TextID2.') OR (`'.$Table.'`.`Language` = '.$this->System->Config['OriginalLanguage'].'))';
    5757                        } else $WhereID = '';
    5858       
Note: See TracChangeset for help on using the changeset viewer.