Skip to content

Commit 149cb8b

Browse files
committed
Portfolio: Replace getUser with getCreator in owner check
1 parent 461815c commit 149cb8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/main/inc/lib/PortfolioController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3554,7 +3554,7 @@ private function processAttachments(
35543554

35553555
private function itemBelongToOwner(Portfolio $item): bool
35563556
{
3557-
if ($item->getUser()->getId() != $this->owner->getId()) {
3557+
if ($item->getCreator()->getId() != $this->owner->getId()) {
35583558
return false;
35593559
}
35603560

0 commit comments

Comments
 (0)