]> git.mxchange.org Git - friendica.git/blobdiff - mod/photo.php
view/theme/smoothly/icons/
[friendica.git] / mod / photo.php
index e8e74cfde192c08f56770a90478dbddb24959431..dee483d835bbda6479376d21a0c5a603f9cf29b1 100644 (file)
@@ -76,7 +76,7 @@ function photo_init(&$a) {
                                break;
                }
 
-               $uid = str_replace('.jpg', '', $person);
+               $uid = str_replace(array('.jpg','.png'),array('',''), $person);
 
                $r = q("SELECT * FROM `photo` WHERE `scale` = %d AND `uid` = %d AND `profile` = 1 LIMIT 1",
                        intval($resolution),