Ignore:
Timestamp:
Feb 10, 2014, 4:16:56 PM (11 years ago)
Author:
maron
Message:
File:
1 edited

Legend:

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

    r743 r789  
    7070
    7171if(array_key_exists('Version', $_GET)) $_SESSION['StatVersion'] = $_GET['Version'];
    72 if(!array_key_exists('StatVersion', $_SESSION)) $_SESSION['StatVersion'] = $this->System->Config['Web']['GameVersion'];
     72if(!array_key_exists('StatVersion', $_SESSION))
     73{
     74  if($this->System->User->Licence(LICENCE_USER))
     75        {
     76    $_SESSION['StatVersion'] = $this->System->User->PreferredVersionGame;
     77  } else
     78    $_SESSION['StatVersion'] = $this->System->Config['Web']['GameVersion'];
     79}
    7380
    7481if(!isset($_SESSION['language']))
Note: See TracChangeset for help on using the changeset viewer.