Browse Source

Fix a fatal error in Info

feature/templater
Timothée Jaussoin 1 month ago
parent
commit
90acf68e78
  1. 2
      app/Info.php

2
app/Info.php

@ -242,7 +242,7 @@ class Info extends Model
public function getPicture(\Movim\ImageSize $size = \Movim\ImageSize::M): string
{
return getPicture($this->attributes['avatarhash'], $this->node, $size);
return getPicture($this->attributes['avatarhash'] ?? null, $this->node, $size);
}
public function getDeviceIcon()

Loading…
Cancel
Save