fixed html::a_href('mailto:First.Last@domain.com'), the mailto link was mistaken for a menuaction

This commit is contained in:
Ralf Becker 2006-06-13 21:58:08 +00:00
parent 5e0d628d93
commit 0d9206e671

View File

@ -920,7 +920,7 @@ class html
$vars = $url;
$url = '/index.php';
}
elseif (!strstr($url,'/') && count(explode('.',$url)) == 3)
elseif (!strstr($url,'/') && count(explode('.',$url)) == 3 && substr($url,0,7) != 'mailto:')
{
$url = "/index.php?menuaction=$url";
}