]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Network AllAds4You now with request parameters
[mailer.git] / inc / wrapper-functions.php
index 055cf55b888473364fe3687fc25f61491d18439a..bb570f585aeee4b92253ce8aef94166df8c36d45 100644 (file)
@@ -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]