diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-07-09 20:17:20 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-07-09 20:17:20 -0400 |
commit | 47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e (patch) | |
tree | fc325d9c111777700be5f69d0046940387196da6 /include/text.php | |
parent | 0630609d6e60085f20d1430fd4044775dd9af5e9 (diff) | |
parent | e2574cf069dc29b1e8ca6bd64ee78b262206cef4 (diff) | |
download | volse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.tar.gz volse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.tar.bz2 volse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.zip |
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 16 |
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) { |