diff --git a/inc/iSchedule.php b/inc/iSchedule.php index 930a5e84..ca426def 100644 --- a/inc/iSchedule.php +++ b/inc/iSchedule.php @@ -204,7 +204,7 @@ class iSchedule function getServer ( ) { global $icfg; - if ( isset($icfg) && $icfg [ $this->domain ] ) + if ( isset($icfg) && isset($icfg[$this->domain]) ) { $this->remote_server = $icfg [ $this->domain ] [ 'server' ]; $this->remote_port = $icfg [ $this->domain ] [ 'port' ];