Ignore:
Timestamp:
Apr 7, 2012, 10:59:33 PM (9 years ago)
Author:
plg
Message:

bug 2610 fixed: make sure the $_GETlang or $_GETlanguage is in the
list of available languages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/install.php

    r12103 r13955  
    179179{
    180180  $language = strip_tags($_GET['language']);
     181 
     182  if (!in_array($language, array_keys($languages->fs_languages)))
     183  {
     184    $language = PHPWG_DEFAULT_LANGUAGE;
     185  }
    181186}
    182187else
Note: See TracChangeset for help on using the changeset viewer.