View Issue Details

IDProjectCategoryView StatusLast Update
0001027OXID eShop (all versions)4.06. Language and translationspublic2009-06-22 15:21
ReporterLG Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.2 revision 18998 
Fixed in Version4.1.4 revision 21266 
Summary0001027: Wrong language is marked as selected if DE language is inactive
DescriptionHi,

The problem is with language list on shop page. Wrong language is marked as selected if you have any inactive languages.

In my case I marked DE as inactive language. Just take a look at oxlang.php:

if ( $blOnlyActive && is_array($aLangParams) ) {
     //skipping non active languages
     if ( !$aLangParams[$key]['active'] ) {
          continue;
     }
}

You should change $i value before continuing:

     if ( !$aLangParams[$key]['active'] ) {
          ++$i;
          continue;
     }
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

rimvydas_paskevicius

2009-06-22 15:21

reporter   ~0001099

Fixed problem with getting active languages list and selected current active language