diff --git a/core/attributedef.class.inc.php b/core/attributedef.class.inc.php
index bf77caa21..4da079129 100644
--- a/core/attributedef.class.inc.php
+++ b/core/attributedef.class.inc.php
@@ -9925,7 +9925,7 @@ class AttributeTagSet extends AttributeSet
{
$aValues = $value->GetValues();
}
- if (!empty($aValuess))
+ if (!empty($aValues))
{
$sRes .= ''.implode('', $aValues).'';
}