X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_autopurge.php;h=5cbd50969325dab6d9203d9c5439ed339e2d989e;hb=00974432ffe0ed217b993e1ea5aaaac7dc31e82b;hp=35464730ed0d920611c01a4563e4661d76a029f4;hpb=e2148142f8b1a8f40fd6e7ca32185569c5a9083e;p=mailer.git
diff --git a/inc/modules/admin/what-list_autopurge.php b/inc/modules/admin/what-list_autopurge.php
index 35464730ed..5cbd509693 100644
--- a/inc/modules/admin/what-list_autopurge.php
+++ b/inc/modules/admin/what-list_autopurge.php
@@ -18,6 +18,7 @@
* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -45,16 +46,16 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
addMenuDescription('admin', __FILE__);
// Exclude default referal id if set
+// @TODO Rewrite those lines to filter
$EXCLUDE_LIST = '';
if (getConfig('def_refid') > 0) {
- $EXCLUDE_LIST = " AND d.userid != ".getConfig('def_refid')."";
+ $EXCLUDE_LIST = ' AND d.userid != {?def_refid?}';
} // END - if
// Check for more extensions
-// @TODO Rewrite those lines to filter
-if (isExtensionActive('beg')) $EXCLUDE_LIST .= " AND d.userid != ".getConfig('beg_userid')."";
-if (isExtensionActive('bonus')) $EXCLUDE_LIST .= " AND d.userid != ".getConfig('bonus_userid')."";
-if (isExtensionActive('doubler')) $EXCLUDE_LIST .= " AND d.userid != ".getConfig('doubler_userid')."";
+if (isExtensionActive('beg')) $EXCLUDE_LIST .= ' AND d.userid != {?beg_userid?}';
+if (isExtensionActive('bonus')) $EXCLUDE_LIST .= ' AND d.userid != {?bonus_userid?}';
+if (isExtensionActive('doubler')) $EXCLUDE_LIST .= ' AND d.userid != {?doubler_userid?}';
if (isExtensionInstalledAndNewer('holiday', '0.1.3')) $EXCLUDE_LIST .= " AND d.holiday_active='N'";
// Check for all accounts
@@ -88,7 +89,7 @@ if (SQL_NUMROWS($result) > 0) {
'gender' => translateGender($content['gender']),
'surname' => $content['surname'],
'family' => $content['family'],
- 'email' => "".$content['email']."",
+ 'email' => '' . $content['email'] . '',
'joined' => generateDateTime($content['joined'], 2),
'last_online' => generateDateTime($content['last_online'], 2),
'notified' => generateDateTime($content['ap_notified'], 2),