Ignore:
Timestamp:
Jan 19, 2016, 11:10:33 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Translation groups sorted by localized name again.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Locale.php

    r843 r855  
    147147  function UpdateToDatabase(Database $Database, $LangCode)
    148148  {
    149     $DbResult = $Database->select('Language', '*', 'Code='.$Database->quote($LangCode));
     149    $DbResult = $Database->select('Language', '*', '`Code`='.$Database->quote($LangCode));
    150150    if($DbResult->num_rows > 0)
    151151    {
     
    153153      foreach($this->Texts->Data as $Index => $Item)
    154154      {
    155         $DbResult = $Database->select('Locale', '*', '(`Original` ='.$Database->quote($Index).') AND (`Language`='.($Language['Id']).')');
     155        $DbResult = $Database->select('Locale', '*', '(`Original` ='.$Database->quote($Index).
     156          ') AND (`Language`='.($Language['Id']).')');
    156157        if($DbResult->num_rows > 0)
    157158        $Database->update('Locale', '(`Language`='.($Language['Id']).') AND '.
Note: See TracChangeset for help on using the changeset viewer.