summaryrefslogtreecommitdiffstats
path: root/system/libraries/Image_lib.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-07 05:16:32 +0200
committeradmin <devnull@localhost>2006-10-07 05:16:32 +0200
commit88a8ad187b13b36d6120eae2344fe16c3a76219d (patch)
tree9707b986ae9fe37f226abd5fec76b58d15903858 /system/libraries/Image_lib.php
parent81ccb439c2743776728b798bdc7e31db3d826233 (diff)
Diffstat (limited to 'system/libraries/Image_lib.php')
-rw-r--r--system/libraries/Image_lib.php8
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);
}