diff options
author | Friendika <info@friendika.com> | 2011-10-24 23:55:29 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-24 23:55:29 -0700 |
commit | ae12074337c6f5465c8abab8b3205daeb8797a0b (patch) | |
tree | 79306c3f5235324fa71c60d9d6bf877bf02034e8 | |
parent | 4ea6f86b2089e0468139890a42cb5157f804c26e (diff) | |
download | volse-hubzilla-ae12074337c6f5465c8abab8b3205daeb8797a0b.tar.gz volse-hubzilla-ae12074337c6f5465c8abab8b3205daeb8797a0b.tar.bz2 volse-hubzilla-ae12074337c6f5465c8abab8b3205daeb8797a0b.zip |
fix tag import for tag owner
-rw-r--r-- | include/items.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php index 03149ce7d..4e7674a2e 100644 --- a/include/items.php +++ b/include/items.php @@ -1965,7 +1965,8 @@ function local_delivery($importer,$data) { // was the top-level post for this reply written by somebody on this site? // Specifically, the recipient? - $r = q("select `item`.`id`, `contact`.`name`, `contact`.`url`, `contact`.`thumb` from `item` + $r = q("select `item`.`id`, `item`.`uri`, `item`.`tag`, + `contact`.`name`, `contact`.`url`, `contact`.`thumb` from `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id` WHERE `contact`.`self` = 1 AND `item`.`wall` = 1 AND `item`.`uri` = '%s' AND `item`.`parent-uri` = '%s' AND `item`.`uid` = %d LIMIT 1", |