Little change for management better the errors in fields
This commit is contained in:
parent
243767bc12
commit
479f449b13
25 changed files with 124 additions and 24 deletions
|
|
@ -75,6 +75,8 @@ class FileField extends PhangoField {
|
|||
|
||||
$this->std_error=I18n::lang('common', 'error_cannot_upload_this_file_to_the_server', 'Error: Cannot upload this file to the server');
|
||||
|
||||
$this->error=1;
|
||||
|
||||
return '';
|
||||
|
||||
}
|
||||
|
|
@ -94,6 +96,8 @@ class FileField extends PhangoField {
|
|||
|
||||
$this->std_error=I18n::lang('error_model', 'check_error_enctype_for_upload_file', 'Please, check enctype form of file form');
|
||||
|
||||
$this->error=1;
|
||||
|
||||
return '';
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue