mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +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 ( )
|
function getServer ( )
|
||||||
{
|
{
|
||||||
global $icfg;
|
global $icfg;
|
||||||
if ( $icfg [ $this->domain ] )
|
if ( isset($icfg) && $icfg [ $this->domain ] )
|
||||||
{
|
{
|
||||||
$this->remote_server = $icfg [ $this->domain ] [ 'server' ];
|
$this->remote_server = $icfg [ $this->domain ] [ 'server' ];
|
||||||
$this->remote_port = $icfg [ $this->domain ] [ 'port' ];
|
$this->remote_port = $icfg [ $this->domain ] [ 'port' ];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user