aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-05 19:40:09 -0700
committerredmatrix <git@macgirvin.com>2016-07-05 19:40:09 -0700
commit537f30f7079dec55e82f616e35162195c6527c52 (patch)
treece6f0cc85091e9eafcca6f08112922e6fa4d72c1 /include/text.php
parentcf051116228875a8dc9e9da193bc7b8bcfe83840 (diff)
parentad954d01de7568e2834907b4eb24f71648c3a01d (diff)
downloadvolse-hubzilla-537f30f7079dec55e82f616e35162195c6527c52.tar.gz
volse-hubzilla-537f30f7079dec55e82f616e35162195c6527c52.tar.bz2
volse-hubzilla-537f30f7079dec55e82f616e35162195c6527c52.zip
Merge branch 'dev' into perms
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php
index 89c3a0539..986e3b56c 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2354,7 +2354,13 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $d
$str_tags .= $newtag;
}
- return array('replaced' => $replaced, 'termtype' => $termtype, 'term' => $basetag, 'url' => $url, 'contact' => $r[0]);
+ return [
+ 'replaced' => $replaced,
+ 'termtype' => $termtype,
+ 'term' => $basetag,
+ 'url' => $url,
+ 'contact' => $r[0]
+ ];
}
//is it a person tag?
@@ -2545,7 +2551,13 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $d
}
}
- return array('replaced' => $replaced, 'termtype' => $termtype, 'term' => $newname, 'url' => $url, 'contact' => $r[0]);
+ return [
+ 'replaced' => $replaced,
+ 'termtype' => $termtype,
+ 'term' => $newname,
+ 'url' => $url,
+ 'contact' => $r[0]
+ ];
}
function linkify_tags($a, &$body, $uid, $diaspora = false) {