forked from extern/egroupware
allow to pass url including http(s) scheme to Html::link($url, ...) and therefore other methods of Html class
This commit is contained in:
parent
0f45aed876
commit
578accd72f
@ -762,6 +762,10 @@ tinymce.init({
|
||||
parse_str($v,$v);
|
||||
$vars += $v;
|
||||
}
|
||||
if (preg_match('#^https?://#', $url))
|
||||
{
|
||||
return $url.($vars ? '?'.http_build_query($vars) : '');
|
||||
}
|
||||
return Framework::link($url,$vars);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user