]> source.dussan.org Git - nextcloud-server.git/commitdiff
Card::getOwner should return the actual value 25857/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 1 Mar 2021 15:51:36 +0000 (16:51 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 1 Mar 2021 17:27:49 +0000 (17:27 +0000)
I guess we never call this at runtime or it would already ahve done boom
very loudly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/contactsinteraction/lib/Card.php

index 2cacd7ad54612e998bcac56751df570d0c10643c..4134924c2c3cf82aa31f8081a06f9731f273d52c 100644 (file)
@@ -53,7 +53,7 @@ class Card implements ICard, IACL {
         * @inheritDoc
         */
        public function getOwner(): ?string {
-               $this->principal;
+               return $this->principal;
        }
 
        /**