X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fpurge%2Fpurge-coupon.php;h=a0cf1f3fb851cc439264d1caf8d1082855e5eda9;hp=ba4249ea88687513c343d8b1598b6690cf4a4ca5;hb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86;hpb=20741b93fd58620af677a7f1039ffd16ea6ec689 diff --git a/inc/purge/purge-coupon.php b/inc/purge/purge-coupon.php index ba4249ea88..a0cf1f3fb8 100644 --- a/inc/purge/purge-coupon.php +++ b/inc/purge/purge-coupon.php @@ -16,7 +16,7 @@ * $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 * @@ -39,7 +39,7 @@ 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; } @@ -59,7 +59,7 @@ WHERE ORDER BY `id` ASC', __FILE__, __LINE__); -// Do we have entries? +// Are there entries? if (SQL_NUMROWS($result) > 0) { // Init variables $out = ''; @@ -68,7 +68,7 @@ if (SQL_NUMROWS($result) > 0) { // 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');