]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_yoomedia_tm.php
Heacy rewrite/cleanup:
[mailer.git] / inc / modules / admin / what-list_yoomedia_tm.php
index e72482611b90336c5e075db4e20e407c8621ce25..e7b42518b7b98970841e19f08ee58e687c28d439 100644 (file)
@@ -76,7 +76,7 @@ if (getConfig('yoomedia_requests_remain') == '0') {
 $result = YOOMEDIA_GET_PARSED_RESULT_TEXTMAILS();
 
 // Sanity-check on result array
-if ((!is_array($result)) || (count($result) == 0) || (!isset($result[0]['id']))) {
+if ((!isFilledArray($result)) || (!isset($result[0]['id']))) {
        // Invalid result
        displayMessage('{--ADMIN_YOOMEDIA_INVALID_RESULT--}');
        return FALSE;