Skip to content

Commit

Permalink
Merge pull request #3700 from gadelat/develop
Browse files Browse the repository at this point in the history
Fix language overriding for calendar library
  • Loading branch information
narfbg committed Mar 26, 2015
2 parents 343a3e9 + 51fe87a commit 5639a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/libraries/Calendar.php
Expand Up @@ -131,7 +131,7 @@ public function __construct($config = array())
{
$this->CI =& get_instance();

if ( ! in_array('calendar_lang.php', $this->CI->lang->is_loaded, TRUE))
if ( ! isset($this->CI->lang->is_loaded['calendar_lang.php']))
{
$this->CI->lang->load('calendar');
}
Expand Down

0 comments on commit 5639a57

Please sign in to comment.