Skip to content

Commit

Permalink
Fix #339 - correct condition
Browse files Browse the repository at this point in the history
  • Loading branch information
u01jmg3 committed Jun 25, 2024
1 parent 7286ce0 commit 23b6ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ICal/ICal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

1 comment on commit 23b6ada

@u01jmg3
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Relates to 55b61d4

Please sign in to comment.