diff options
author | friendica <info@friendica.com> | 2015-01-06 13:43:19 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-06 13:43:19 -0800 |
commit | c9839d38a597f3e022c7e77978710e3bff7f73b1 (patch) | |
tree | f01218ed04299fb311c90ecb810fbc9273d1630c | |
parent | c05586fbe716400e4540856887e6f6a8dbcd5077 (diff) | |
parent | 1cfff44535678276d83ded807e5c1c7e7c6f18b1 (diff) | |
download | volse-hubzilla-c9839d38a597f3e022c7e77978710e3bff7f73b1.tar.gz volse-hubzilla-c9839d38a597f3e022c7e77978710e3bff7f73b1.tar.bz2 volse-hubzilla-c9839d38a597f3e022c7e77978710e3bff7f73b1.zip |
Merge branch 'master' into trinidad
-rw-r--r-- | include/text.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php index ca9c51bc3..edcd087a6 100644 --- a/include/text.php +++ b/include/text.php @@ -2207,10 +2207,10 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag) { if(strrpos($newname,'+')) { //get the id + $tagcid = substr($newname,strrpos($newname,'+') + 1); + if(strrpos($tagcid,' ')) $tagcid = substr($tagcid,0,strrpos($tagcid,' ')); - - $tagcid = substr($newname,strrpos($newname,'+') + 1); if(strlen($tagcid) < 16) $abook_id = intval($tagcid); |