Changeset 831 for trunk/includes


Ignore:
Timestamp:
Aug 24, 2015, 9:57:27 PM (9 years ago)
Author:
chronos
Message:
  • Removed: Do not use fixed number for text group item index. Do not exclude all other groups for mass translation except spell rank.
  • Modified: Translation save page redirection part of code moved to separate method.
  • Fixed: Translation save condition for empty original text items.
Location:
trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Version.php

    r830 r831  
    66// and system will need database update.
    77
    8 $Revision = 830; // Subversion revision
     8$Revision = 831; // Subversion revision
    99$DatabaseRevision = 811; // Database structure revision
    1010$ReleaseTime = '2015-08-24';
  • trunk/includes/global.php

    r819 r831  
    158158//  $text = str_replace('&','',$text);
    159159//  $text = str_replace(' ','%20',$text);
    160   $DbResult = $System->Database->select('Language', 'Code', 'Id='.$System->User->Language);
     160  $DbResult = $System->Database->select('Language', '`Code`', '`Id`='.$System->User->Language);
    161161  $DbRow = $DbResult->fetch_assoc();
    162162  $lang = $DbRow['Code'];
Note: See TracChangeset for help on using the changeset viewer.