diff options
author | admin <devnull@localhost> | 2006-10-07 05:16:32 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-07 05:16:32 +0200 |
commit | 88a8ad187b13b36d6120eae2344fe16c3a76219d (patch) | |
tree | 9707b986ae9fe37f226abd5fec76b58d15903858 /system/libraries/Image_lib.php | |
parent | 81ccb439c2743776728b798bdc7e31db3d826233 (diff) |
Diffstat (limited to 'system/libraries/Image_lib.php')
-rw-r--r-- | system/libraries/Image_lib.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php index ca1d7478b..79b2f9c1c 100644 --- a/system/libraries/Image_lib.php +++ b/system/libraries/Image_lib.php @@ -1503,22 +1503,22 @@ class CI_Image_lib { */ function set_error($msg) { - $obj =& get_instance(); - $obj->lang->load('imglib'); + $CI =& get_instance(); + $CI->lang->load('imglib'); if (is_array($msg)) { foreach ($msg as $val) { - $msg = ($obj->lang->line($val) == FALSE) ? $val : $obj->lang->line($val); + $msg = ($CI->lang->line($val) == FALSE) ? $val : $CI->lang->line($val); $this->error_msg[] = $msg; log_message('error', $msg); } } else { - $msg = ($obj->lang->line($msg) == FALSE) ? $msg : $obj->lang->line($msg); + $msg = ($CI->lang->line($msg) == FALSE) ? $msg : $CI->lang->line($msg); $this->error_msg[] = $msg; log_message('error', $msg); } |