commit | 76b369e191f4432ceba51ba7d7993c4ea54579ae | [log] [tgz] |
---|---|---|
author | Robin Sowell <robin.sowell@ellislab.com> | Fri Mar 19 11:15:28 2010 -0400 |
committer | Robin Sowell <robin.sowell@ellislab.com> | Fri Mar 19 11:15:28 2010 -0400 |
tree | 665ac4a9af07b2ea7ee3c242c549e408d0532059 | |
parent | 66a3fc0a7dc6ae84da4a1e852e4458fda7714567 [diff] [blame] |
Changed a few strstr to strpos for consistency w performance guidelines and to mirror EE2.
diff --git a/system/libraries/Email.php b/system/libraries/Email.php index 8014bd2..09d1b8f 100644 --- a/system/libraries/Email.php +++ b/system/libraries/Email.php
@@ -1865,7 +1865,7 @@ elseif ($cip) $this->_IP = $cip; elseif ($fip) $this->_IP = $fip; - if (strstr($this->_IP, ',')) + if (strpos($this->_IP, ',') !== FALSE) { $x = explode(',', $this->_IP); $this->_IP = end($x);