Skip to content
Snippets Groups Projects
Commit b2ef6a44 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix customized logo support

parent 6710dda0
No related branches found
No related tags found
No related merge requests found
......@@ -1294,7 +1294,7 @@ class OsticketConfig extends Config {
function getLogo($site) {
$id = $this->get("{$site}_logo_id", false);
return ($id) ? AttachmentFile::lookup($id) : null;
return ($id) ? AttachmentFile::lookup((int) $id) : null;
}
function getClientLogo() {
return $this->getLogo('client');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment