You've already forked Epicnabbo-Catalogus-Updated-Daily
Update UserAvatarColumn.php
This commit is contained in:
@@ -21,9 +21,17 @@ class UserAvatarColumn extends Column
|
||||
return '';
|
||||
}
|
||||
|
||||
if (! is_object($record)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$figure = $this->figurePointer
|
||||
? data_get($record, $this->figurePointer)
|
||||
: $record->look;
|
||||
: (property_exists($record, 'look') ? $record->look : null);
|
||||
|
||||
if (! is_string($figure)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return "{$figureImagerUrl}{$figure}{$this->avatarOptions}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user