https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3708cf
)
Fix null value for item.parent column
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Thu, 12 Nov 2020 14:29:37 +0000
(09:29 -0500)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 14 Nov 2020 15:08:51 +0000
(10:08 -0500)
mod/item.php
patch
|
blob
|
history
diff --git
a/mod/item.php
b/mod/item.php
index
d70353d
..
2e5560f
100644
(file)
--- 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;