fixing a booboo
This commit is contained in:
parent
dcfc111934
commit
c7b87cda29
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ sub appendPostListTemplateVars {
|
|||
#Create user object.
|
||||
my $user = WebGUI::User->new($post->get('ownerUserId'));
|
||||
#Get avatar field, storage Id.
|
||||
my $storageId = $user->get("avatar");
|
||||
my $storageId = $user->profileField("avatar");
|
||||
my $avatar = WebGUI::Storage::Image->get($storageId);
|
||||
if ($avatar) {
|
||||
#Get url from storage object.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue