X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fitems.php;h=06ff8f2894e128cee7fafdff941621d9ac598ff5;hb=5016a589fbc6975d0808a0c298d1f92773af8d19;hp=f70e96fcbe8a08dcbf89197f19373f1dd1dc2e11;hpb=f558a1fe8d8f67d4dd9c32f63a7b46c2bcf1a769;p=friendica.git diff --git a/include/items.php b/include/items.php index f70e96fcbe..06ff8f2894 100755 --- a/include/items.php +++ b/include/items.php @@ -1186,7 +1186,7 @@ function tag_deliver($uid,$item_id) { // use a local photo if we have one - $r = q("select thumb from contact where uid = %d and nurl = '%s' limit 1", + $r = q("select * from contact where uid = %d and nurl = '%s' limit 1", intval($u[0]['uid']), dbesc(normalise_link($item['author-link'])) ); @@ -1210,6 +1210,11 @@ function tag_deliver($uid,$item_id) { 'otype' => 'item' )); + + $arr = array('item' => $item, 'user' => $u[0], 'contact' => $r[0]); + + call_hooks('tagged', $arr); + if((! $community_page) && (! $prvgroup)) return;