mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-07-26 12:49:35 +00:00
Silence the warning if this is not initialised.
This commit is contained in:
parent
ff006ce319
commit
a6d6dfc8b8
@ -93,7 +93,7 @@ function SRVOk ( $value, $name, $row ) {
|
||||
|
||||
function SRVFormat ( $domain ) {
|
||||
global $c;
|
||||
switch ( $_REQUEST['srv_format'] )
|
||||
switch ( @$_REQUEST['srv_format'] )
|
||||
{
|
||||
case 'dnsmasq':
|
||||
return 'srv_host=_ischedules._tcp.' . $domain .','. ($c->scheduling_dkim_domain?$c->scheduling_dkim_domain:$_SERVER['SERVER_NAME']) .','. $_SERVER['SERVER_PORT'] ;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user