X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=inc%2Fmodules%2Fadmin%2Fwhat-list_yoomedia_tm.php;h=37f07a08d6ba79a0e4a4a31ccd16547ea53e363d;hb=e5527fd38a6585c8466dc28d013f12d21eb7c07a;hp=55155d07799492814c8507330cf91f50b12ec66d;hpb=b02de7ccf21c231499555985632da8f19a2fa614;p=mailer.git diff --git a/inc/modules/admin/what-list_yoomedia_tm.php b/inc/modules/admin/what-list_yoomedia_tm.php index 55155d0779..37f07a08d6 100644 --- a/inc/modules/admin/what-list_yoomedia_tm.php +++ b/inc/modules/admin/what-list_yoomedia_tm.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software. You can redistribute it and/or modify * @@ -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; @@ -85,7 +85,7 @@ if ((!is_array($result)) || (count($result) == 0) || (!isset($result[0]['id']))) $code = YOOMEDIA_GET_ERRORCODE_FROM_RESULT($result); // Output message - loadTemplate('admin_yoomedia_error', FALSE, sprintf("{--ADMIN_YOOMEDIA_ERROR_%s--}", strtoupper(translateYooMediaError($code)))); + loadTemplate('admin_yoomedia_error', FALSE, sprintf('{--ADMIN_YOOMEDIA_ERROR_%s--}', strtoupper(translateYooMediaError($code)))); return FALSE; }