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;