Skip to content

Commit f80eb58

Browse files
committed
Fix missing images in signature preview
Closes #6274
1 parent 5c65688 commit f80eb58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wcfsetup/install/files/lib/system/attachment/SignatureAttachmentObjectType.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function setPermissions(array $attachments)
153153

154154
foreach ($attachments as $attachment) {
155155
if (($userProfile = $this->getObject($attachment->objectID)) !== null) {
156-
if (!$userProfile->showSignature()) {
156+
if (!$userProfile->showSignature() && $attachment->userID !== WCF::getUser()->userID) {
157157
continue;
158158
}
159159

0 commit comments

Comments
 (0)