summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/url_helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php
index 36219630d..e82a51dcc 100644
--- a/system/helpers/url_helper.php
+++ b/system/helpers/url_helper.php
@@ -50,7 +50,7 @@ if ( ! function_exists('site_url'))
* @param string $protocol
* @return string
*/
- function site_url($uri = '')
+ function site_url($uri = '', $protocol = NULL)
{
$site_url = get_instance()->config->site_url($uri);