(retrofit from trunk) Make sure that the generated form field's IDs are valid ones.

SVN:2.3[4603]
This commit is contained in:
Denis Flaven
2017-03-17 13:21:17 +00:00
parent 602b64d19a
commit de81fbcb09

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)