diff options
author | friendica <info@friendica.com> | 2015-03-25 15:33:50 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-03-25 15:33:50 -0700 |
commit | b6d4f01ba994d7d69fcb45edf7fee0c95d12c976 (patch) | |
tree | c3c6ea8ed276cd9958ded7b256bb3b45be4f40e8 /include | |
parent | e33da588bddad9269aa7ab9cdc8cb1ab49d1e9cd (diff) | |
parent | 49005101c7e83b342ec84ca7277f065c103df4b1 (diff) | |
download | volse-hubzilla-b6d4f01ba994d7d69fcb45edf7fee0c95d12c976.tar.gz volse-hubzilla-b6d4f01ba994d7d69fcb45edf7fee0c95d12c976.tar.bz2 volse-hubzilla-b6d4f01ba994d7d69fcb45edf7fee0c95d12c976.zip |
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'include')
-rw-r--r-- | include/sharedwithme.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sharedwithme.php b/include/sharedwithme.php index 3936dc90f..b01764ad3 100644 --- a/include/sharedwithme.php +++ b/include/sharedwithme.php @@ -3,7 +3,7 @@ function apply_updates() { //check for updated items and remove them - $x = q("SELECT mid, object FROM item WHERE verb = '%s' AND obj_type = '%s' GROUP BY mid", + $x = q("SELECT mid, max(object) AS object FROM item WHERE verb = '%s' AND obj_type = '%s' GROUP BY mid", dbesc(ACTIVITY_UPDATE), dbesc(ACTIVITY_OBJ_FILE) ); |