summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Email.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index b0d0921eb..91c119e02 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -1868,7 +1868,7 @@ class CI_Email {
*/
protected function _smtp_connect($force=FALSE)
{
- if ( ! is_resource($this->_smtp_connect) || $force)
+ if ( ! is_resource($this->_smtp_connect) OR $force)
{
$ssl = ($this->smtp_crypto === 'ssl') ? 'ssl://' : NULL;