testing autotag
This commit is contained in:
parent
cdc66da52f
commit
e84f44710a
@ -322,7 +322,8 @@ function item_post(&$a) {
|
|||||||
|
|
||||||
// If we're sending a private message with a single @-taggable channel as a recipient, @-tag it.
|
// If we're sending a private message with a single @-taggable channel as a recipient, @-tag it.
|
||||||
|
|
||||||
if(substr_count($str_contact_allow,'<') == 1 && $str_group_allow == '' && str_contact_deny == '' && $str_group_deny == '') {
|
if(substr_count($str_contact_allow,'<') == 1 && $str_group_allow == '' && $str_contact_deny == '' && $str_group_deny == '') {
|
||||||
|
logger('mod-item: autotag');
|
||||||
$x = q("select abook_id, abook_their_perms from abook where abook_xchan = '%s' and abook_channel = %d limit 1",
|
$x = q("select abook_id, abook_their_perms from abook where abook_xchan = '%s' and abook_channel = %d limit 1",
|
||||||
dbesc(str_replace(array('<','>'),array('',''),$str_contact_allow)),
|
dbesc(str_replace(array('<','>'),array('',''),$str_contact_allow)),
|
||||||
intval($profile_uid)
|
intval($profile_uid)
|
||||||
|
Reference in New Issue
Block a user