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

View file

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