summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-20 15:04:58 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-20 15:04:58 +0100
commit083a22635140cb627cae7e4edf5d7127220c018e (patch)
tree0db4feae4635a03306b5a04272f3af69eb9d1f33 /system/libraries
parentbe368a82f789aaa9f0ac0c8b6fa72a2f7cd0b6d4 (diff)
[ci skip] Fix date helper loading in CI_Calendar::get_total_days()
Diffstat (limited to 'system/libraries')
-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 7bdcdca09..cdcbfe9d7 100644
--- a/system/libraries/Calendar.php
+++ b/system/libraries/Calendar.php
@@ -456,7 +456,7 @@ class CI_Calendar {
*/
public function get_total_days($month, $year)
{
- $this->load->helper('date');
+ $this->CI->load->helper('date');
return days_in_month($month, $year);
}