]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
Fixup ProfileField Test (because of PermissionSet fix)
[friendica.git] / include / api.php
index c5c863bdd1ec0893c2d8150213647b43e74831aa..22a6ee432133e523108ce5cce4d5899af75b2b7e 100644 (file)
@@ -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'])) {