<?php
/************************************************************************
- * M-XChange v0.2.1 Start: 10/10/2008 *
- * ================ Last change: 10/10/2008 *
+ * Mailer v0.2.1-FINAL Start: 10/10/2008 *
+ * =================== Last change: 10/10/2008 *
* *
* -------------------------------------------------------------------- *
* File : what-list_yoomedia_tm.php *
}
// Enougth queries left?
-if (getConfig('yoomedia_requests_remain') == 0) {
+if (getConfig('yoomedia_requests_remain') == '0') {
// Output message
loadTemplate('admin_settings_saved', false, getMessage('ADMIN_YOOMEDIA_REQUESTS_DEPLETED'));
$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;
// Is this mail already sent?
if ($reload !== false) {
// Init countdown
- $countdown = 0;
+ $countdown = '0';
// Not manually locked?
if ($reload > 0) {