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

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;