should fix #728
This commit is contained in:
parent
8b9ae53242
commit
cd35beb947
1 changed files with 3 additions and 1 deletions
|
@ -2117,7 +2117,9 @@ function diaspora_profile($importer,$xml,$msg) {
|
||||||
if($name === '') {
|
if($name === '') {
|
||||||
$name = $handle_parts[0];
|
$name = $handle_parts[0];
|
||||||
}
|
}
|
||||||
if(strpos($image_url, $handle_parts[1]) === false) {
|
|
||||||
|
|
||||||
|
if( preg_match("|^https?://|", $url1) === 0) {
|
||||||
$image_url = "http://" . $handle_parts[1] . $image_url;
|
$image_url = "http://" . $handle_parts[1] . $image_url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue