]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/yoomedia_functions.php
Introduced new wrapper functions to make the code more readable, new extension ext...
[mailer.git] / inc / libs / yoomedia_functions.php
index ef00bd8e29f0b0e95dd936f6f8cff371a6f7812e..ab92eba1d2f2ff54cb2e28f4e38e02e311fb677b 100644 (file)
@@ -119,7 +119,7 @@ function YOOMEDIA_TEST_CONFIG ($data) {
        $errorCode = YOOMEDIA_GET_ERRORCODE_FROM_RESULT($response);
 
        // Log the response if failed
-       if (count($response) == '0') {
+       if (count($response) == 0) {
                // Queries depleted (as we count here!)
                logDebugMessage(__FUNCTION__, __LINE__, 'Requested depleted. Maxmimum was: ' . getConfig('yoomedia_requests_total'));
                $errorCode = -1;