summaryrefslogtreecommitdiffstats
path: root/system/libraries/Calendar.php
diff options
context:
space:
mode:
authorGabriel Potkány <gadelat@gmail.com>2015-03-25 14:04:16 +0100
committerGabriel Potkány <gadelat@gmail.com>2015-03-25 14:04:16 +0100
commit3549be4242d84b4cba0a00ecde0d58c90efbf0cd (patch)
tree8d8f3d4b20af4be82f21dfdbdeab351012c6b8b7 /system/libraries/Calendar.php
parentb112a3eb94d19f91ee3b698f43f36fd17a06d9c3 (diff)
Fix language overriding for calendar library
Diffstat (limited to 'system/libraries/Calendar.php')
-rw-r--r--system/libraries/Calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Calendar.php b/system/libraries/Calendar.php
index 014daac58..9059594bb 100644
--- a/system/libraries/Calendar.php
+++ b/system/libraries/Calendar.php
@@ -131,7 +131,7 @@ class CI_Calendar {
{
$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');
}