aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-12 21:38:10 -0700
committerfriendica <info@friendica.com>2012-06-12 21:38:10 -0700
commit82ad881c853a96b540ca8eebc16b68661a2bbdef (patch)
treea25668b5b05c3354040a8992afb17d7319512955
parentd955813f22d5151046733fc55349112c44a16277 (diff)
downloadvolse-hubzilla-82ad881c853a96b540ca8eebc16b68661a2bbdef.tar.gz
volse-hubzilla-82ad881c853a96b540ca8eebc16b68661a2bbdef.tar.bz2
volse-hubzilla-82ad881c853a96b540ca8eebc16b68661a2bbdef.zip
think this will fix it
-rwxr-xr-xinclude/items.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 5d9c36d94..6f2e19f6a 100755
--- a/include/items.php
+++ b/include/items.php
@@ -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)