diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 16:28:30 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 16:28:30 -0700 |
commit | b4b638be44375c93f5222c7b48ed547845d6d7e5 (patch) | |
tree | a81bdf92946ae4e776bcb2d5f6357c08fa616080 /system/helpers/request.php | |
parent | 0204617b602183a3e157bc7e23c617acd22a5212 (diff) |
Undo url helper changes - url methods no longer return a SafeString.
Adding SafeString::of_safe_html() calls where urls are passed as parameters to t() and t2().
Diffstat (limited to 'system/helpers/request.php')
-rw-r--r-- | system/helpers/request.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/request.php b/system/helpers/request.php index 15b8edfa..4203d0e5 100644 --- a/system/helpers/request.php +++ b/system/helpers/request.php @@ -30,7 +30,7 @@ class request_Core { // Set referrer $ref = $_SERVER['HTTP_REFERER']; - if (strpos($ref, (string) url::base(FALSE)) === 0) + if (strpos($ref, url::base(FALSE)) === 0) { // Remove the base URL from the referrer $ref = substr($ref, strlen(url::base(FALSE))); |