Fix Undefined array key "port"
This commit is contained in:
parent
d9b97ce538
commit
2e526d5977
|
@ -2063,7 +2063,7 @@ else {
|
||||||
$caldav = new caldav_client($props["caldav_url"], $props["caldav_user"], $props["caldav_pass"]);
|
$caldav = new caldav_client($props["caldav_url"], $props["caldav_user"], $props["caldav_pass"]);
|
||||||
|
|
||||||
$tokens = parse_url($props["caldav_url"]);
|
$tokens = parse_url($props["caldav_url"]);
|
||||||
$base_uri = $tokens['scheme']."://".$tokens['host'].($tokens['port'] ? ":".$tokens['port'] : null);
|
$base_uri = $tokens['scheme']."://".$tokens['host'].(isset($tokens['port']) ? ":".$tokens['port'] : null);
|
||||||
$caldav_url = $props["caldav_url"];
|
$caldav_url = $props["caldav_url"];
|
||||||
$response = $caldav->prop_find($caldav_url, array_merge($current_user_principal,$cal_attribs), 0);
|
$response = $caldav->prop_find($caldav_url, array_merge($current_user_principal,$cal_attribs), 0);
|
||||||
if (!$response) {
|
if (!$response) {
|
||||||
|
|
Loading…
Reference in a new issue