diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-11 13:11:35 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-11 13:11:35 +0200 |
commit | ba2617646eb072be0ecfec8818e332345010fc03 (patch) | |
tree | 9aa76789f927ba9d5231f6bd62a9904dde8c3c3f /system | |
parent | 650b4c000242ad90ed1ca1e56bdee7d42dbdedaa (diff) |
Fix issue #1455 (introduct in d261b1e89c3d4d5191036d5a5660ef6764e593a0)
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Email.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index c70144f7c..09f217530 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php @@ -1599,7 +1599,7 @@ class CI_Email { $this->_debug_msg[] = '<pre>'.$cmd.': '.$reply.'</pre>'; - if (substr($reply, 0, 3) !== $resp) + if ( (int) substr($reply, 0, 3) !== $resp) { $this->_set_error_message('lang:email_smtp_error', $reply); return FALSE; |