Skip to content

Commit

Permalink
chore: fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
webong authored Oct 18, 2023
1 parent fa47c95 commit 0d93ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ushahidi/DataSource/Email/Email.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function fetch($limit = false)

// To connect to an SSL IMAP or POP3 server with a self-signed certificate,
// add /novalidate-cert after the encryption protocol specification:
$no_cert_validation = !is_empty($encryption) ? '/novalidate-cert' : '';
$no_cert_validation = !empty($encryption) ? '/novalidate-cert' : '';

try {
// Try to connect
Expand Down

0 comments on commit 0d93ab3

Please sign in to comment.