aboutsummaryrefslogtreecommitdiffstats
path: root/mod/sharedwithme.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/sharedwithme.php')
-rw-r--r--mod/sharedwithme.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/sharedwithme.php b/mod/sharedwithme.php
index baaf41f61..bbb9c2aef 100644
--- a/mod/sharedwithme.php
+++ b/mod/sharedwithme.php
@@ -48,9 +48,9 @@ function sharedwithme_content(&$a) {
else {
- $z = q("DELETE FROM item WHERE (obj_type = '%s' AND object LIKE '%s') AND (verb = '%s' OR verb = '%s')",
+ $z = q("DELETE FROM item WHERE (obj_type = '%s' AND object = '%s') AND (verb = '%s' OR verb = '%s')",
dbesc(ACTIVITY_OBJ_FILE),
- dbesc('%"hash":"' . $hash . '"%'),
+ dbesc($xx['object']),
dbesc(ACTIVITY_POST),
dbesc(ACTIVITY_UPDATE)
);