"Settings" aren't called "Settings" anymore #185

Merged
annando merged 5 commits from master into master 2014-03-23 08:30:26 +01:00
Showing only changes of commit 3eaefaa822 - Show all commits

View file

@ -1173,7 +1173,7 @@ function fbpost_get_photo($uid,$link) {
function fpost_cleanpicture($image) {
if (strpos($image, ".fbcdn.net/") and (substr($image, -6) == "_s.jpg"))
if ((strpos($image, ".fbcdn.net/") OR strpos($image, "/fbcdn-photos-")) and (substr($image, -6) == "_s.jpg"))
$image = substr($image, 0, -6)."_n.jpg";
$queryvar = fbpost_parse_query($image);