summaryrefslogtreecommitdiffstats
path: root/system/libraries/Calendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Calendar.php')
-rw-r--r--system/libraries/Calendar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Calendar.php b/system/libraries/Calendar.php
index 8c7d95aa5..8cf151703 100644
--- a/system/libraries/Calendar.php
+++ b/system/libraries/Calendar.php
@@ -48,7 +48,7 @@ class CI_Calendar {
function CI_Calendar()
{
$this->obj =& get_instance();
- if ( ! in_array('calendar_lang'.EXT, $this->obj->lang->is_loaded))
+ if ( ! in_array('calendar_lang'.EXT, $this->obj->lang->is_loaded, TRUE))
{
$this->obj->lang->load('calendar');
}
@@ -458,7 +458,7 @@ class CI_Calendar {
}
else
{
- if (in_array($val, $today))
+ if (in_array($val, $today, TRUE))
{
$this->temp[$val] = $this->temp[str_replace('_today', '', $val)];
}