diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-07 22:07:11 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-07 22:07:11 +0100 |
commit | 7176eb88452b3c74652de09e44de41943051391c (patch) | |
tree | 0ab8af1ffb5a92962b2918e274cae26046897d11 /include/text.php | |
parent | f3cd29f829ab66fe1f9fac306dcc6fa20858ad52 (diff) | |
parent | a373b9f1d4d0ee6781927c3fcf05e0e301a80b6e (diff) | |
download | volse-hubzilla-7176eb88452b3c74652de09e44de41943051391c.tar.gz volse-hubzilla-7176eb88452b3c74652de09e44de41943051391c.tar.bz2 volse-hubzilla-7176eb88452b3c74652de09e44de41943051391c.zip |
Merge autocomplete caching, show more results in navbar search
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); |