X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofile_photo.php;h=80bdfa534e709f536f9086778b0ceea786aee832;hb=bf0b98017decf73123891e935993f2921d3b0acf;hp=5556553cf96391c8d741068724afd2bb34ee7451;hpb=2e03a3a47fe46fd953f3dbbe3486579f90dcd5f8;p=friendica.git diff --git a/mod/profile_photo.php b/mod/profile_photo.php index 5556553cf9..80bdfa534e 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -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;