commit | 51fe87aea6a9588f24c9143338bdc5d0975821f9 | [log] [tgz] |
---|---|---|
author | Gabriel Potkány <gadelat@gmail.com> | Wed Mar 25 19:15:02 2015 +0100 |
committer | Gabriel Potkány <gadelat@gmail.com> | Wed Mar 25 19:15:02 2015 +0100 |
tree | 45e6f9bce0cfdb020a168cb4feb46b183ae0a9f9 | |
parent | 3549be4242d84b4cba0a00ecde0d58c90efbf0cd [diff] [blame] |
use isset instead of array_key_exist
diff --git a/system/libraries/Calendar.php b/system/libraries/Calendar.php index 9059594..42fa00a 100644 --- a/system/libraries/Calendar.php +++ b/system/libraries/Calendar.php
@@ -131,7 +131,7 @@ { $this->CI =& get_instance(); - if ( ! array_key_exists('calendar_lang.php', $this->CI->lang->is_loaded)) + if ( ! isset($this->CI->lang->is_loaded['calendar_lang.php'])) { $this->CI->lang->load('calendar'); }