X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fwrapper-functions.php;h=bb570f585aeee4b92253ce8aef94166df8c36d45;hb=af5059252c53c8802929611bf322ca4597b70146;hp=055cf55b888473364fe3687fc25f61491d18439a;hpb=07e126c776ca39d4e8d6a751af02b08221e664e2;p=mailer.git diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 055cf55b88..bb570f585a 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -863,13 +863,14 @@ function getFetchedUserData ($keyColumn, $userId, $valueColumn) { // Wrapper for strpos() to ease porting from deprecated ereg() function function isInString ($needle, $haystack) { + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'needle=' . $needle . ', haystack=' . $haystack . ', returned=' . intval(strpos($haystack, $needle) !== false)); return (strpos($haystack, $needle) !== false); } // Wrapper for strpos() to ease porting from deprecated eregi() function // This function is case-insensitive function isInStringIgnoreCase ($needle, $haystack) { - return (isInString(strtolower($haystack), strtolower($needle))); + return (isInString(strtolower($needle), strtolower($haystack))); } // [EOF]