Browse Source

Bugfix

pull/49/head
Tobias Hößl 11 years ago
parent
commit
ac86407fdf
  1. 2
      include/text.php

2
include/text.php

@ -996,7 +996,7 @@ function lang_selector() {
}
$ll = substr($l,5);
$ll = substr($ll,0,strrpos($ll,'/'));
$selected = (($ll === $lang && (x($_SESSION['language']))) ? ' selected="selected" ' : '');
$selected = (($ll === $lang && (x($_SESSION, 'language'))) ? ' selected="selected" ' : '');
$o .= '<option value="' . $ll . '"' . $selected . '>' . $ll . '</option>';
}
}

Loading…
Cancel
Save