Fix: Undefined index: uri-id in src/Model/Tag.php on line 403

This commit is contained in:
Michael 2020-05-14 20:44:03 +00:00
parent ba9d5b83e4
commit a1fc9df4ee
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;