X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fapi.php;h=22a6ee432133e523108ce5cce4d5899af75b2b7e;hb=8a354dac8269d788f3f8ea90732530eeacf53d98;hp=c5c863bdd1ec0893c2d8150213647b43e74831aa;hpb=13827edd2cb6632a13ca983fe8c47cf679eaf4dc;p=friendica.git diff --git a/include/api.php b/include/api.php index c5c863bdd1..22a6ee4321 100644 --- a/include/api.php +++ b/include/api.php @@ -4408,7 +4408,7 @@ function api_account_update_profile_image($type) $media = $_FILES['media']; } // save new profile image - $data = save_media_to_database("profileimage", $media, $type, DI::l10n()->t('Profile Photos'), "", "", "", "", "", Photo::USER_AVATAR); + $data = save_media_to_database("profileimage", $media, $type, DI::l10n()->t(Photo::PROFILE_PHOTOS), "", "", "", "", "", Photo::USER_AVATAR); // get filetype if (is_array($media['type'])) {