* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 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 *
if (!defined('__SECURITY')) {
die();
} elseif (!isExtensionActive('coupon')) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.');
+ logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-coupon disabled.');
return;
}
ORDER BY
`id` ASC', __FILE__, __LINE__);
-// Do we have entries?
+// Are there entries?
if (SQL_NUMROWS($result) > 0) {
// Init variables
$out = '';
// Start purging all
while ($content = SQL_FETCHARRAY($result)) {
// Add id
- $ids[] = $content['id'];
+ array_push($ids, $content['id']);
// Translate some data
$content['coupon_created'] = generateDateTime($content['coupon_created'], '2');