]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
Update README.md - re-order mobile screenshots
[friendica.git] / mod / item.php
index cf23df8424f219ffa305df9761c2daa0851bc8e7..72c2ed8c5d10679fef6b2ddeca31d5752f0b10cd 100644 (file)
@@ -266,6 +266,7 @@ function item_process(array $post, array $request, bool $preview, string $return
                $post['uri-id']         = -1;
                $post['author-network'] = Protocol::DFRN;
                $post['author-updated'] = '';
+               $post['author-alias']   = '';
                $post['author-gsid']    = 0;
                $post['author-uri-id']  = ItemURI::getIdByURI($post['author-link']);
                $post['owner-updated']  = '';
@@ -340,7 +341,7 @@ function item_content(App $a)
 
        $args = DI::args();
 
-       if (!$args->has(3)) {
+       if (!$args->has(2)) {
                throw new HTTPException\BadRequestException();
        }