diff options
author | friendica <info@friendica.com> | 2015-01-06 13:42:55 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-06 13:42:55 -0800 |
commit | 1cfff44535678276d83ded807e5c1c7e7c6f18b1 (patch) | |
tree | 6c65f8db4a8c40e4fbc98be25587485bb464c751 /include/text.php | |
parent | 8c5e5c34494c9eccbf41f7bd7561febb94c713e3 (diff) | |
download | volse-hubzilla-1cfff44535678276d83ded807e5c1c7e7c6f18b1.tar.gz volse-hubzilla-1cfff44535678276d83ded807e5c1c7e7c6f18b1.tar.bz2 volse-hubzilla-1cfff44535678276d83ded807e5c1c7e7c6f18b1.zip |
lines reversed in handle_tag()
Diffstat (limited to 'include/text.php')
-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); |