From 083a22635140cb627cae7e4edf5d7127220c018e Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Thu, 20 Feb 2014 16:04:58 +0200 Subject: [ci skip] Fix date helper loading in CI_Calendar::get_total_days() --- system/libraries/Calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') 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); } -- cgit v1.2.3-24-g4f1b