diff --git a/src/ICal/ICal.php b/src/ICal/ICal.php index 7c29f0f..668a531 100644 --- a/src/ICal/ICal.php +++ b/src/ICal/ICal.php @@ -2657,7 +2657,7 @@ protected function fileOrUrl($filename) $options['http'] = array(); $options['http']['header'] = array(); - if ($this->httpBasicAuth === array() || !empty($this->httpUserAgent) || !empty($this->httpAcceptLanguage)) { + if ($this->httpBasicAuth !== array() || !empty($this->httpUserAgent) || !empty($this->httpAcceptLanguage)) { if ($this->httpBasicAuth !== array()) { $username = $this->httpBasicAuth['username']; $password = $this->httpBasicAuth['password'];