aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-27 20:28:55 -0700
committerfriendica <info@friendica.com>2013-06-27 20:28:55 -0700
commite84f44710a1f37b4344c495f3818fc68e0521e0d (patch)
treeb31d274bc587230d3a9bfe217169a52937bd1f2e
parentcdc66da52fb985c33e27b955324dd977830a1d8c (diff)
downloadvolse-hubzilla-e84f44710a1f37b4344c495f3818fc68e0521e0d.tar.gz
volse-hubzilla-e84f44710a1f37b4344c495f3818fc68e0521e0d.tar.bz2
volse-hubzilla-e84f44710a1f37b4344c495f3818fc68e0521e0d.zip
testing autotag
-rw-r--r--mod/item.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index 3a1e4a95e..e93b152cf 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -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(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",
dbesc(str_replace(array('<','>'),array('',''),$str_contact_allow)),
intval($profile_uid)