mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 04:49:44 +01:00
fixed html::a_href('mailto:First.Last@domain.com'), the mailto link was mistaken for a menuaction
This commit is contained in:
parent
5e0d628d93
commit
0d9206e671
@ -920,7 +920,7 @@ class html
|
|||||||
$vars = $url;
|
$vars = $url;
|
||||||
$url = '/index.php';
|
$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";
|
$url = "/index.php?menuaction=$url";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user