mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-02-15 15:58:40 +00:00
bug fixes and item management improvements
This commit is contained in:
parent
68d53bda2f
commit
33db197d07
|
|
@ -71,10 +71,10 @@ class TicketView extends View
|
||||||
$profile = ProfileMapper::get()->with('image')->where('account', $account)->execute();
|
$profile = ProfileMapper::get()->with('image')->where('account', $account)->execute();
|
||||||
|
|
||||||
if ($profile->id === 0 || $profile->image->getPath() === '') {
|
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user