]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile_photo.php
Merge pull request #4618 from tobiasd/210180317-htconfig
[friendica.git] / mod / profile_photo.php
index 5556553cf96391c8d741068724afd2bb34ee7451..80bdfa534e709f536f9086778b0ceea786aee832 100644 (file)
@@ -308,7 +308,7 @@ function profile_photo_crop_ui_head(App $a, Image $Image) {
                $height = $Image->getHeight();
        }
 
-       $hash = photo_new_resource();
+       $hash = Photo::newResource();
 
 
        $smallest = 0;