summaryrefslogtreecommitdiffstats
path: root/system/libraries/Trackback.php
diff options
context:
space:
mode:
authorVivek Dinesh <vivekdinesh5@gmail.com>2016-08-10 14:06:49 +0200
committerVivek Dinesh <vivekdinesh5@gmail.com>2016-08-10 14:06:49 +0200
commit656fd7eef9624c3c07918b2d573d9ccb6f971c57 (patch)
treeef691cace0cb3c70bd1060c1cf0ea5b9e737d6cc /system/libraries/Trackback.php
parentfba242cf6bc99833c21fc3600fdff2691244e243 (diff)
Better usage
Based on GitHub discussion. Signed-off-by: Vivek Dinesh <vivekdinesh5@gmail.com>
Diffstat (limited to 'system/libraries/Trackback.php')
-rw-r--r--system/libraries/Trackback.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Trackback.php b/system/libraries/Trackback.php
index 848f5b3c9..7222c00c2 100644
--- a/system/libraries/Trackback.php
+++ b/system/libraries/Trackback.php
@@ -370,7 +370,7 @@ class CI_Trackback {
{
$url = trim($url);
- if (strpos(strtolower($url), 'http') !== 0)
+ if (stripos($url, 'http') !== 0)
{
$url = 'http://'.$url;
}