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/Unit.php | |
parent | 81ccb439c2743776728b798bdc7e31db3d826233 (diff) |
Diffstat (limited to 'system/libraries/Unit.php')
-rw-r--r-- | system/libraries/Unit.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/libraries/Unit.php b/system/libraries/Unit.php index 0df78c253..6573f4269 100644 --- a/system/libraries/Unit.php +++ b/system/libraries/Unit.php @@ -171,8 +171,8 @@ class CI_Unit { */ function result($results = array()) { - $obj =& get_instance(); - $obj->load->language('unit_test'); + $CI =& get_instance(); + $CI->load->language('unit_test'); if (count($results) == 0) { @@ -189,20 +189,20 @@ class CI_Unit { { foreach ($val as $k => $v) { - if (FALSE !== ($line = $obj->lang->line(strtolower('ut_'.$v)))) + if (FALSE !== ($line = $CI->lang->line(strtolower('ut_'.$v)))) { $v = $line; } - $temp[$obj->lang->line('ut_'.$k)] = $v; + $temp[$CI->lang->line('ut_'.$k)] = $v; } } else { - if (FALSE !== ($line = $obj->lang->line(strtolower('ut_'.$val)))) + if (FALSE !== ($line = $CI->lang->line(strtolower('ut_'.$val)))) { $val = $line; } - $temp[$obj->lang->line('ut_'.$key)] = $val; + $temp[$CI->lang->line('ut_'.$key)] = $val; } } |