fixed display problem with language tags

This commit is contained in:
Roland Gruber 2014-08-31 19:42:17 +00:00
parent 4f124b1d0f
commit 2131405664
1 changed files with 2 additions and 2 deletions

View File

@ -444,7 +444,7 @@ abstract class xmlTemplate {
# If there isnt a schema item for this attribute
$attribute = $attribute_factory->newAttribute($name,$value,$server->getIndex(),$source);
$attrid = $this->getAttrID($attribute->getName());
$attrid = $this->getAttrID($attribute->getName(true, true));
if (is_null($attrid))
array_push($this->attributes,$attribute);
@ -485,7 +485,7 @@ abstract class xmlTemplate {
debug_log('Entered (%%)',5,0,__FILE__,__LINE__,__METHOD__,$fargs);
foreach ($this->attributes as $attribute)
if (($attribute->getName() == strtolower($name)) || in_array(strtolower($name),$attribute->getAliases()))
if (($attribute->getName(true, true) == strtolower($name)) || in_array(strtolower($name),$attribute->getAliases()))
return $attribute;
return null;