Changeset 630 for trunk/includes


Ignore:
Timestamp:
Dec 8, 2013, 6:43:40 PM (11 years ago)
Author:
maron
Message:
  • Fixed: Load data from arrays only if array exists
  • Fixed: Import/cmd.php
  • Fixed: patch in Import/Import.php
  • Fixed: Can compare text with not complete
Location:
trunk/includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/Version.php

    r629 r630  
    66// and system will need database update.
    77
    8 $Revision = 629; // Subversion revision
     8$Revision = 630; // Subversion revision
    99$DatabaseRevision = 610; // Database structure revision
    1010$ReleaseTime = '2013-12-04';
  • trunk/includes/system.php

    r622 r630  
    4545    );
    4646    $Code = $Config['Web']['Locale'];
    47     if(array_key_exists('Locale', $_SESSION)) $Code = $_SESSION['Locale'];
    48     if(array_key_exists('locale', $_GET)) $Code = $_GET['locale'];
     47    if (isset($_SESSION))
     48      if(array_key_exists('Locale', $_SESSION)) $Code = $_SESSION['Locale'];
     49    if (isset($_GET))
     50      if(array_key_exists('locale', $_GET)) $Code = $_GET['locale'];
     51   
    4952    //echo(phpinfo());
    5053    if(!array_key_exists($Code, $LocaleManager->Available)) $Code = 'en';
Note: See TracChangeset for help on using the changeset viewer.