From: Michael Date: Thu, 14 May 2020 20:44:03 +0000 (+0000) Subject: Fix: Undefined index: uri-id in src/Model/Tag.php on line 403 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a1fc9df4ee9fe1cd48320b2ae6252ca2e2b72c0e;p=friendica.git Fix: Undefined index: uri-id in src/Model/Tag.php on line 403 --- 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;