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 /include/items.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 'include/items.php')
-rw-r--r-- | include/items.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index facd8b2d4..735adc717 100644 --- a/include/items.php +++ b/include/items.php @@ -865,6 +865,13 @@ function item_store($arr,$force_parent = false) { intval($current_post) ); + // update the timestamp on the parent + + q("UPDATE `item` set `changed` = '%s' WHERE `id` = %d LIMIT 1", + dbesc(datetime_convert()), + intval($parent_id) + ); + if($dsprsig) { q("insert into sign (`iid`,`signed_text`,`signature`,`signer`) values (%d,'%s','%s','%s') ", intval($current_post), |