]> git.mxchange.org Git - friendica.git/commitdiff
Fix: Undefined index: uri-id in src/Model/Tag.php on line 403
authorMichael <heluecht@pirati.ca>
Thu, 14 May 2020 20:44:03 +0000 (20:44 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 14 May 2020 20:44:03 +0000 (20:44 +0000)
mod/item.php

index 30d9f03e6bf40101a63651c7d73e27d5d374d0de..ad3351dd4a38e242b2ea766ad1904093e5e33670 100644 (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;