|
@@ -25,9 +25,10 @@ |
|
|
block discarded – undo |
|
25
|
25
|
$url = isset($this->found_props['current-user-principal']) && isset($this->found_props['current-user-principal']['href']) ? |
|
26
|
26
|
$this->server_url.$this->found_props['current-user-principal']['href'] : null; |
|
27
|
27
|
// check on not found one ( issue on caldav icloud imp) |
|
28
|
|
- if(empty($url)) |
|
29
|
|
- $url = isset($this->not_found_props['current-user-principal']) && isset($this->not_found_props['current-user-principal']['href']) ? |
|
|
28
|
+ if(empty($url)) { |
|
|
29
|
+ $url = isset($this->not_found_props['current-user-principal']) && isset($this->not_found_props['current-user-principal']['href']) ? |
|
30
|
30
|
$this->server_url.$this->not_found_props['current-user-principal']['href'] : null; |
|
|
31
|
+ } |
|
31
|
32
|
return $url; |
|
32
|
33
|
} |
|
33
|
34
|
} |
|
34
|
35
|
\ No newline at end of file |
Please login to merge, or discard this patch.