fixed case sensitivity

This commit is contained in:
Roland Gruber 2017-01-11 21:01:37 +01:00
parent 08771b3ffd
commit adcea47ce5
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ class ListAttribute {
*/
public function getAlias() {
if ($this->isPredefined()) {
$name = substr($this->attributeSpec, 1);
$name = strtolower(substr($this->attributeSpec, 1));
$hash_table = getListAttributeDescriptions($this->scope);
$hash_table = array_change_key_case($hash_table, CASE_LOWER);
if (isset($hash_table[$name])) {