diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-03-25 11:03:37 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-03-25 11:03:37 +0100 |
commit | 49005101c7e83b342ec84ca7277f065c103df4b1 (patch) | |
tree | 89b991e121ac4111adc789e8dad6d75b47d41da7 /include/sharedwithme.php | |
parent | 022305fe8383be238a442efdbd5ba3463d15b7ab (diff) | |
download | volse-hubzilla-49005101c7e83b342ec84ca7277f065c103df4b1.tar.gz volse-hubzilla-49005101c7e83b342ec84ca7277f065c103df4b1.tar.bz2 volse-hubzilla-49005101c7e83b342ec84ca7277f065c103df4b1.zip |
make postgresql happy
Diffstat (limited to 'include/sharedwithme.php')
-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) ); |