Typo in replaced variable

This commit is contained in:
Olaf Conradi 2013-10-12 19:27:39 +02:00
parent c459228dca
commit 095d1bae26

View File

@ -880,7 +880,7 @@ function handle_tag($a, &$body, &$inform, &$str_tags, $profile_uid, $tag) {
$url = 'http://getzot.com'; $url = 'http://getzot.com';
$newtag = '#[zrl=' . $url . ']' . $basetag . '[/zrl]'; $newtag = '#[zrl=' . $url . ']' . $basetag . '[/zrl]';
$body = str_replace($tag,$newtag,$body); $body = str_replace($tag,$newtag,$body);
$replace = true; $replaced = true;
} }
else { else {
//base tag has the tags name only //base tag has the tags name only