mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
Fix error when $icfg is not set.
This commit is contained in:
parent
19ec6fd2fb
commit
43bda7a5ba
@ -193,7 +193,7 @@ class iSchedule
|
||||
function getServer ( )
|
||||
{
|
||||
global $icfg;
|
||||
if ( $icfg [ $this->domain ] )
|
||||
if ( isset($icfg) && $icfg [ $this->domain ] )
|
||||
{
|
||||
$this->remote_server = $icfg [ $this->domain ] [ 'server' ];
|
||||
$this->remote_port = $icfg [ $this->domain ] [ 'port' ];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user