mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:10:11 +00:00
Merge remote-tracking branch 'upstream/develop' into photo-guid
This commit is contained in:
commit
43a17b6129
5 changed files with 25 additions and 14 deletions
|
@ -850,6 +850,10 @@ class User
|
|||
*/
|
||||
public static function getAvatarUrl(array $user, string $size = ''):string
|
||||
{
|
||||
if (empty($user['nickname'])) {
|
||||
DI::logger()->warning('Missing user nickname key', ['trace' => System::callstack(20)]);
|
||||
}
|
||||
|
||||
$url = DI::baseUrl() . '/photo/';
|
||||
|
||||
switch ($size) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue