diff options
author | Friendika <info@friendika.com> | 2011-09-16 06:51:33 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-16 06:51:33 -0700 |
commit | 9b5d5eca07099f9517be617b0cfb903988b01583 (patch) | |
tree | eb9b724cc841e721fca4b63b5305ff1500096e89 /mod/item.php | |
parent | 2e43b291e73f6d7c36a9d8743fc2635dc3444841 (diff) | |
parent | 9c3503a706d445bcbf7a14c2adcd8d344df3e46b (diff) | |
download | volse-hubzilla-9b5d5eca07099f9517be617b0cfb903988b01583.tar.gz volse-hubzilla-9b5d5eca07099f9517be617b0cfb903988b01583.tar.bz2 volse-hubzilla-9b5d5eca07099f9517be617b0cfb903988b01583.zip |
Merge branch 'friday'
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php index 025a12a32..38f4c2040 100644 --- a/mod/item.php +++ b/mod/item.php @@ -803,6 +803,12 @@ function item_post(&$a) { // NOTREACHED } + // update the timestamp on the parent + + q("UPDATE `item` set `changed` = '%s' WHERE `id` = %d LIMIT 1", + dbesc(datetime_convert()), + intval($parent) + ); $datarray['id'] = $post_id; $datarray['plink'] = $a->get_baseurl() . '/display/' . $user['nickname'] . '/' . $post_id; |