diff --git a/inc/iSchedule.php b/inc/iSchedule.php index 643142ff..aea2cc6c 100644 --- a/inc/iSchedule.php +++ b/inc/iSchedule.php @@ -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' ];