Make sure that the generated form field's IDs are valid ones.

SVN:trunk[4602]
This commit is contained in:
Denis Flaven
2017-03-17 13:20:01 +00:00
parent ea3c7703c4
commit d0267f60ae

View File

@@ -531,7 +531,7 @@ EOF
public function GetFieldId($sCode)
{
return $this->GetPrefix().'attr_'.$sCode;
return $this->GetPrefix().'attr_'.utils::GetSafeId($sCode.$this->GetSuffix());
}
public function GetFieldName($sCode)