Merge pull request #176 from oohlaf/fixes

Typo in replaced variable for #getzot
This commit is contained in:
Olaf Conradi 2013-10-12 10:53:33 -07:00
commit ffd88fec92

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