diff options
author | Marcos SF Filho <sffmarcos142009z@gmail.com> | 2014-01-08 22:38:00 +0100 |
---|---|---|
committer | Marcos SF Filho <sffmarcos142009z@gmail.com> | 2014-01-08 22:38:00 +0100 |
commit | 0cd7c92ee59b4b03588e45229944d4b83eea3d8e (patch) | |
tree | 6f5564fbdb8f0fe0d841ab08bd98e9b72db791ef /system/libraries | |
parent | c4f661613eefb6ea15b4109beb61c823d9ec51cc (diff) |
Unnecessary rtrim and update docs for Calendar class
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Calendar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Calendar.php b/system/libraries/Calendar.php index e393345df..de77e3d7f 100644 --- a/system/libraries/Calendar.php +++ b/system/libraries/Calendar.php @@ -154,7 +154,7 @@ class CI_Calendar { // Set the next_prev_url to the controller if required but not defined if ($this->show_next_prev === TRUE && empty($this->next_prev_url)) { - $this->next_prev_url = rtrim($this->CI->config->site_url($this->CI->router->class.'/'.$this->CI->router->method), '/').'/'; + $this->next_prev_url = $this->CI->config->site_url($this->CI->router->class.'/'.$this->CI->router->method); } } |