Index: trunk/core/units/general/cat_dbitem.php =================================================================== diff -u -N -r8586 -r8842 --- trunk/core/units/general/cat_dbitem.php (.../cat_dbitem.php) (revision 8586) +++ trunk/core/units/general/cat_dbitem.php (.../cat_dbitem.php) (revision 8842) @@ -302,12 +302,12 @@ function ValidateRequired($field, $params) { $res = true; - $error_field = isset($params['error_field']) ? $params['error_field'] : $field; - if ( getArrayValue($params,'required') ) - { + if (getArrayValue($params, 'required')) { $res = ( (string) $this->FieldValues[$field] != ''); } - if (!$res) $this->FieldErrors[$error_field]['pseudo'] = 'required'; + if (!$res) { + $this->SetError($field, 'required'); + } return $res; }