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

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;