* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
- return false;
-} elseif (!isExtensionActive('bonus')) {
- // Abort if extension bonus is not active
- return false;
+ return FALSE;
+} elseif ((!isExtensionActive('bonus')) || (!isExtensionActive('other'))) {
+ // Abort if extension bonus/other are not active
+ return FALSE;
array(bigintval($mailData['id'])), __FILE__, __LINE__);
// Default is no users left
array(bigintval($mailData['id'])), __FILE__, __LINE__);
// Default is no users left
- $status = removeReceiver($temporaryReceivers, $key, $userid, $mailData['id'], $mailData['id'], true);
+ $status = removeReceiver($temporaryReceivers, $key, $userid, $mailData['id'], $mailData['id'], TRUE);
//* DEBUG: */ debugOutput('-L:'.__LINE__.'/'.countSelection($temporaryReceivers).'-');
if (countSelection($temporaryReceivers) == 0) {
// Queue reached!
//* DEBUG: */ debugOutput('-L:'.__LINE__.'/'.countSelection($temporaryReceivers).'-');
if (countSelection($temporaryReceivers) == 0) {
// Queue reached!
implode(';', $temporaryReceivers),
bigintval($mailData['id'])
), __FILE__, __LINE__);
implode(';', $temporaryReceivers),
bigintval($mailData['id'])
), __FILE__, __LINE__);