diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Upload.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index c18c178df..0aa6d4c20 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php @@ -937,9 +937,12 @@ class CI_Upload { */ function display_errors($open = '<p>', $close = '</p>') { + $CI =& get_instance(); + $CI->lang->load('upload'); $str = ''; foreach ($this->error_msg as $val) { + $str .= '<pre>'.print_r($CI->lang->line($msg), TRUE).'</pre>'; $str .= $open.$val.$close; } |