From: Hypolite Petovan Date: Thu, 12 Nov 2020 14:29:37 +0000 (-0500) Subject: Fix null value for item.parent column X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c36ca3cffea2f168683e1c5d2119b23de8028165;p=friendica.git Fix null value for item.parent column --- diff --git a/mod/item.php b/mod/item.php index d70353d9b9..2e5560f5c4 100644 --- a/mod/item.php +++ b/mod/item.php @@ -105,7 +105,7 @@ function item_post(App $a) { $parent_item = null; $toplevel_item = null; - $toplevel_item_id = null; + $toplevel_item_id = 0; $toplevel_user_id = null; $objecttype = null;