X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_yoomedia_tm.php;h=925b7b083759edf5ff54f0c439dc2dedf379d9a0;hb=0ff49cce0f61b9ad28162f824e45777eb768a133;hp=c01d2ac69ea2137ec1e53eb484a3af97ce748498;hpb=06d179ae45f3f049003e6fe213249842b2a630fe;p=mailer.git diff --git a/inc/modules/admin/what-list_yoomedia_tm.php b/inc/modules/admin/what-list_yoomedia_tm.php index c01d2ac69e..925b7b0837 100644 --- a/inc/modules/admin/what-list_yoomedia_tm.php +++ b/inc/modules/admin/what-list_yoomedia_tm.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software. You can redistribute it and/or modify * @@ -56,13 +57,13 @@ if (isFormSent()) { // Prepare mail for delivery YOOMEDIA_PREPARE_MAIL_DELIVERY(postRequestArray()); return; -} elseif (isPostRequestElementSet('sent')) { +} elseif (isPostRequestParameterSet('sent')) { // Sent mail YOOMEDIA_SEND_BONUS_MAIL(postRequestArray(), 'normal'); -} elseif (isPostRequestElementSet('remove')) { +} elseif (isFormSent('remove')) { // Add mail to exclude list YOOMEDIA_EXCLUDE_MAIL(postRequestArray(), 'normal'); -} elseif (isPostRequestElementSet('unlist')) { +} elseif (isPostRequestParameterSet('unlist')) { // Remove mail from exclude list YOOMEDIA_UNLIST_MAIL(postRequestArray(), 'normal'); } @@ -80,7 +81,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 ((!is_array($result)) || (count($result) == 0) || (!isset($result[0]['id']))) { // Invalid result loadTemplate('admin_settings_saved', false, getMessage('ADMIN_YOOMEDIA_INVALID_RESULT')); return false;