]> git.mxchange.org Git - friendica.git/blobdiff - include/Photo.php
fix several probe related issues
[friendica.git] / include / Photo.php
index 707b0de5d8c3af8ea8ac849690ad644fb8180fae..de4c3d9e0439c11aa30dbbc3ad32b5f6e15c7d6f 100644 (file)
@@ -230,21 +230,21 @@ function import_profile_photo($photo,$uid,$cid) {
                                        
                $hash = photo_new_resource();
 
-               $r = $img->store($uid, $cid, $hash, $filename, t('Contact Photos'), 4 );
+               $r = $img->store($uid, $cid, $hash, $filename, 'Contact Photos', 4 );
 
                if($r === false)
                        $photo_failure = true;
 
                $img->scaleImage(80);
 
-               $r = $img->store($uid, $cid, $hash, $filename, t('Contact Photos'), 5 );
+               $r = $img->store($uid, $cid, $hash, $filename, 'Contact Photos', 5 );
 
                if($r === false)
                        $photo_failure = true;
 
                $img->scaleImage(48);
 
-               $r = $img->store($uid, $cid, $hash, $filename, t('Contact Photos'), 6 );
+               $r = $img->store($uid, $cid, $hash, $filename, 'Contact Photos', 6 );
 
                if($r === false)
                        $photo_failure = true;