From a1fc9df4ee9fe1cd48320b2ae6252ca2e2b72c0e Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 14 May 2020 20:44:03 +0000 Subject: [PATCH] Fix: Undefined index: uri-id in src/Model/Tag.php on line 403 --- mod/item.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/item.php b/mod/item.php index 30d9f03e6b..ad3351dd4a 100644 --- a/mod/item.php +++ b/mod/item.php @@ -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;