Permalink
Browse files

Fixing a coding error.

  • Loading branch information...
1 parent a390d45 commit d66865d95bbebd7b445819f5f89dd74936224f90 @scriby scriby committed Oct 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/lti/locallib.php
View
@@ -556,7 +556,7 @@ function lti_get_url_thumbprint($url){
}
if(substr($urlparts['host'], 0, 3) === 'www'){
- $urllparts['host'] = substr(3);
+ $urllparts['host'] = substr($urlparts['host'], 3);
}
return $urllower = $urlparts['host'] . '/' . $urlparts['path'];

0 comments on commit d66865d

Please sign in to comment.