mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
allow/support questionmark for first additional parameter after email
This commit is contained in:
parent
fb77a9009d
commit
6e374a4697
@ -128,6 +128,15 @@ class url_widget
|
||||
//error_log(__METHOD__.__LINE__.$email.' '.$addoptions);
|
||||
$rfc822 = $value = $email;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (($q_pos = strpos(substr($value,$at_pos),'?')) !== false)
|
||||
{
|
||||
$email = substr($value,0,$q_pos+$at_pos);
|
||||
$addoptions = substr($value, $q_pos+$at_pos+1);
|
||||
$rfc822 = $value = $email;
|
||||
}
|
||||
}
|
||||
if (strlen($value) > $size) // shorten the name to size-2 plus '...'
|
||||
{
|
||||
$value = substr($value,0,$size-2).'...';
|
||||
|
Loading…
Reference in New Issue
Block a user