diff --git a/actions/inbox/Create.php b/actions/inbox/Create.php index 1da047f..7a7c71a 100755 --- a/actions/inbox/Create.php +++ b/actions/inbox/Create.php @@ -34,7 +34,7 @@ $valid_object_types = ['Note']; $res = $data->object; try { - Activitypub_notice::validate_remote_notice($res); + Activitypub_notice::validate_remote_notice((array) $res); } catch (Exception $e) { common_debug('ActivityPub Inbox Create Note: Invalid note: '.$e->getMessage()); ActivityPubReturn::error($e->getMessage());