commit | 3549be4242d84b4cba0a00ecde0d58c90efbf0cd | [log] [tgz] |
---|---|---|
author | Gabriel Potkány <gadelat@gmail.com> | Wed Mar 25 14:04:16 2015 +0100 |
committer | Gabriel Potkány <gadelat@gmail.com> | Wed Mar 25 14:04:16 2015 +0100 |
tree | 8d8f3d4b20af4be82f21dfdbdeab351012c6b8b7 | |
parent | b112a3eb94d19f91ee3b698f43f36fd17a06d9c3 [diff] |
Fix language overriding for calendar library
diff --git a/system/libraries/Calendar.php b/system/libraries/Calendar.php index 014daac..9059594 100644 --- a/system/libraries/Calendar.php +++ b/system/libraries/Calendar.php
@@ -131,7 +131,7 @@ { $this->CI =& get_instance(); - if ( ! in_array('calendar_lang.php', $this->CI->lang->is_loaded, TRUE)) + if ( ! array_key_exists('calendar_lang.php', $this->CI->lang->is_loaded)) { $this->CI->lang->load('calendar'); }