think this will fix it
This commit is contained in:
parent
d955813f22
commit
82ad881c85
1 changed files with 1 additions and 0 deletions
|
@ -3395,6 +3395,7 @@ function drop_item($id,$interactive = true) {
|
||||||
function first_post_date($uid,$wall = false) {
|
function first_post_date($uid,$wall = false) {
|
||||||
$r = q("select id, created from item
|
$r = q("select id, created from item
|
||||||
where uid = %d and wall = %d and deleted = 0 and visible = 1 AND moderated = 0
|
where uid = %d and wall = %d and deleted = 0 and visible = 1 AND moderated = 0
|
||||||
|
and id = parent
|
||||||
order by created asc limit 1",
|
order by created asc limit 1",
|
||||||
intval($uid),
|
intval($uid),
|
||||||
intval($wall ? 1 : 0)
|
intval($wall ? 1 : 0)
|
||||||
|
|
Loading…
Reference in a new issue