bug fixes and item management improvements

This commit is contained in:
Dennis Eichhorn 2023-05-24 18:11:38 +00:00
parent 68d53bda2f
commit 33db197d07

View File

@ -71,10 +71,10 @@ class TicketView extends View
$profile = ProfileMapper::get()->with('image')->where('account', $account)->execute();
if ($profile->id === 0 || $profile->image->getPath() === '') {
return UriFactory::build('{/base}/' . $this->defaultProfileImage->getPath());
return UriFactory::build($this->defaultProfileImage->getPath());
}
return UriFactory::build('{/base}/' . $profile->image->getPath());
return UriFactory::build($profile->image->getPath());
}
/**