Trim the rid

This commit is contained in:
Michael 2022-05-24 17:39:02 +00:00
parent eddfab7122
commit 0ff8ca8053

View file

@ -704,10 +704,7 @@ class Photo
}
$image_uri = substr($image_uri, strrpos($image_uri, '/') + 1);
$image_uri = substr($image_uri, 0, strpos($image_uri, '-'));
if (!strlen($image_uri)) {
return '';
}
return $image_uri;
return trim($image_uri);
}
/**