diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-09 16:31:04 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-09 16:31:04 -0700 |
commit | e7233c0c94d0464994df94d8907518d49fcb0650 (patch) | |
tree | face7f2e2c8b6212349e769f6c552138006e1f1e /include/conversation.php | |
parent | 2bdf135cbcf6208a4c2400d846b2fbffd8ae2c6b (diff) | |
download | volse-hubzilla-e7233c0c94d0464994df94d8907518d49fcb0650.tar.gz volse-hubzilla-e7233c0c94d0464994df94d8907518d49fcb0650.tar.bz2 volse-hubzilla-e7233c0c94d0464994df94d8907518d49fcb0650.zip |
more backquotes - this should take care of most except for the array import queries
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php index 287dd4983..7239e603b 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -269,8 +269,8 @@ function localize_item(&$item){ // (and update to json storage) if (activity_match($item['verb'],ACTIVITY_TAG)) { - $r = q("SELECT * from `item`,`contact` WHERE - `item`.`contact-id`=`contact`.`id` AND `item`.`mid`='%s';", + $r = q("SELECT * from item,contact WHERE + item.contact-id=contact.id AND item.mid='%s';", dbesc($item['parent_mid'])); if(count($r)==0) return; $obj=$r[0]; |