fixed case sensitivity
This commit is contained in:
parent
08771b3ffd
commit
adcea47ce5
|
@ -383,7 +383,7 @@ class ListAttribute {
|
||||||
*/
|
*/
|
||||||
public function getAlias() {
|
public function getAlias() {
|
||||||
if ($this->isPredefined()) {
|
if ($this->isPredefined()) {
|
||||||
$name = substr($this->attributeSpec, 1);
|
$name = strtolower(substr($this->attributeSpec, 1));
|
||||||
$hash_table = getListAttributeDescriptions($this->scope);
|
$hash_table = getListAttributeDescriptions($this->scope);
|
||||||
$hash_table = array_change_key_case($hash_table, CASE_LOWER);
|
$hash_table = array_change_key_case($hash_table, CASE_LOWER);
|
||||||
if (isset($hash_table[$name])) {
|
if (isset($hash_table[$name])) {
|
||||||
|
|
Loading…
Reference in New Issue