diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 12:48:40 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 12:48:40 -0700 |
commit | c01ac42c4604b3b129e8089e0dc683ebd418b380 (patch) | |
tree | 87c688c638733e7d8a8215bc5f4ee89d0f598c62 /system | |
parent | a10063ff68cf5988297dcad889384ab2080c3850 (diff) |
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
Diffstat (limited to 'system')
-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 4203d0e5..15b8edfa 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, url::base(FALSE)) === 0) + if (strpos($ref, (string) url::base(FALSE)) === 0) { // Remove the base URL from the referrer $ref = substr($ref, strlen(url::base(FALSE))); |