Merge pull request #8633 from annando/notice

Fix: Undefined index: uri-id in src/Model/Tag.php on line 403
This commit is contained in:
Hypolite Petovan 2020-05-15 08:46:57 -04:00 committed by GitHub
commit bf8bb47d7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -650,6 +650,7 @@ function item_post(App $a) {
// We set the datarray ID to -1 because in preview mode the dataray
// doesn't have an ID.
$datarray["id"] = -1;
$datarray["uri-id"] = -1;
$datarray["item_id"] = -1;
$datarray["author-network"] = Protocol::DFRN;