]> git.mxchange.org Git - friendica.git/blobdiff - mod/display.php
all endpoints are now working
[friendica.git] / mod / display.php
index 1b4508c18d96982251d01e9f4c939edcc3052bbe..ff98e689d38b2aac51274a2b0b1f80357b48e2b7 100644 (file)
@@ -79,7 +79,7 @@ function display_init(App $a)
 
        if (ActivityPub::isRequest()) {
                $wall_item = Item::selectFirst(['id', 'uid'], ['guid' => $item['guid'], 'wall' => true]);
-               if ($wall_item['uid'] == 180) {
+               if (DBA::isResult($wall_item)) {
                        $data = ActivityPub::createObjectFromItemID($wall_item['id']);
                        echo json_encode($data);
                        exit();