summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}