]> _ Git - cubeextranet.git/commitdiff
fix #2076 @0:10
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 31 May 2018 14:33:04 +0000 (14:33 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Thu, 31 May 2018 14:33:04 +0000 (14:33 +0000)
inc/ws/Util/html5/master/class.ws.html5.links.php

index 372faf62fdbbf29a58b7057ae8ea4f05e45da3bd..b374331e9cd544dd978edaadb67fa8c3dac5472a 100644 (file)
@@ -317,7 +317,7 @@ class wsHTML5Link
        {
                $datas = parse_url($loc);
 
-               if (isset($datas['scheme']) && !is_null($datas['scheme']) || strpos($loc,'#')==0) {
+               if (isset($datas['scheme']) && !is_null($datas['scheme']) || strpos($loc,'#')===0) {
                        return $loc;
                } else {
                        if ($css) {