* $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 *
// Prepare mail for delivery
YOOMEDIA_PREPARE_MAIL_DELIVERY(postRequestArray());
return;
-} elseif (isPostRequestElementSet('sent')) {
+} elseif (isPostRequestElementSet('send')) {
// Sent mail
YOOMEDIA_SEND_BONUS_MAIL(postRequestArray(), 'normal');
} elseif (isFormSent('do_delete')) {
$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;