Little change for management better the errors in fields

This commit is contained in:
Antonio de la Rosa 2015-12-17 01:48:11 +01:00
parent 243767bc12
commit 479f449b13
25 changed files with 124 additions and 24 deletions

View file

@ -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 '';
}