X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmsearch.php;h=d29a2fc6472bd376849e527f55079d1ce4932a34;hb=2b0518ac04b31fd37e617723d6492149aaa7e06f;hp=b51757cf7f44f7b46003d5645412362442a6460c;hpb=3dddea96fafbd41392efb2610440405b8f2fd07d;p=friendica.git diff --git a/mod/msearch.php b/mod/msearch.php index b51757cf7f..d29a2fc647 100644 --- a/mod/msearch.php +++ b/mod/msearch.php @@ -1,6 +1,6 @@ [$startrec, $perpage]]); while ($search_result = DBA::fetch($search_stmt)) { $results[] = [ 'name' => $search_result['name'], 'url' => DI::baseUrl() . '/profile/' . $search_result['nickname'], - 'photo' => User::getAvatarUrlForId($search_result['uid'], Proxy::SIZE_THUMB), + 'photo' => User::getAvatarUrl($search_result, Proxy::SIZE_THUMB), 'tags' => str_replace([',', ' '], [' ', ' '], $search_result['pub_keywords']) ]; }