lines reversed in handle_tag()
This commit is contained in:
parent
8c5e5c3449
commit
1cfff44535
@ -2207,10 +2207,10 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag) {
|
|||||||
if(strrpos($newname,'+')) {
|
if(strrpos($newname,'+')) {
|
||||||
//get the id
|
//get the id
|
||||||
|
|
||||||
|
$tagcid = substr($newname,strrpos($newname,'+') + 1);
|
||||||
|
|
||||||
if(strrpos($tagcid,' '))
|
if(strrpos($tagcid,' '))
|
||||||
$tagcid = substr($tagcid,0,strrpos($tagcid,' '));
|
$tagcid = substr($tagcid,0,strrpos($tagcid,' '));
|
||||||
|
|
||||||
$tagcid = substr($newname,strrpos($newname,'+') + 1);
|
|
||||||
|
|
||||||
if(strlen($tagcid) < 16)
|
if(strlen($tagcid) < 16)
|
||||||
$abook_id = intval($tagcid);
|
$abook_id = intval($tagcid);
|
||||||
|
Reference in New Issue
Block a user