1
1
Fork 0

think this will fix it

This commit is contained in:
friendica 2012-06-12 21:38:10 -07:00
parent d955813f22
commit 82ad881c85

View file

@ -3395,6 +3395,7 @@ function drop_item($id,$interactive = true) {
function first_post_date($uid,$wall = false) {
$r = q("select id, created from item
where uid = %d and wall = %d and deleted = 0 and visible = 1 AND moderated = 0
and id = parent
order by created asc limit 1",
intval($uid),
intval($wall ? 1 : 0)