diff --git a/public_html/lists/admin/bounce.php b/public_html/lists/admin/bounce.php
index cba6a682e..26155c9e9 100644
--- a/public_html/lists/admin/bounce.php
+++ b/public_html/lists/admin/bounce.php
@@ -18,6 +18,7 @@
$deletebounce = isset($_GET['deletebounce']); //BUGFIX #15286 - nickyoung
$amount = isset($_GET['amount']) ? sprintf('%d', $_GET['amount']) : ''; //BUGFIX #15286 - CS2
$unconfirm = isset($_GET['unconfirm']); //BUGFIX #15286 - CS2
+$confirm = isset($_GET['confirm']);
$maketext = isset($_GET['maketext']); //BUGFIX #15286 - CS2
$deleteuser = isset($_GET['deleteuser']); //BUGFIX #15286 - CS2
@@ -76,10 +77,14 @@
}
}
- if (!empty($userid) && $unconfirm) {
- Sql_Query(sprintf('update %s set confirmed = 0 where id = %d',
+ if (!empty($userid) && ($unconfirm || $confirm)) {
+ Sql_Query(sprintf('update %s set confirmed = ' . ($confirm ? '1' : '0') . ' where id = %d',
$tables['user'], $userid));
- $actionresult .= sprintf($GLOBALS['I18N']->get('Made subscriber %s unconfirmed').'
', $userid);
+ if ($confirm) {
+ $actionresult .= sprintf(s('Made subscriber %s confirmed').'
', $userid);
+ } else {
+ $actionresult .= sprintf(s('Made subscriber %s unconfirmed').'
', $userid);
+ }
}
if (!empty($userid) && $maketext) {
@@ -164,16 +169,28 @@
$GLOBALS['I18N']->get('Memo for this rule'));
$newruleform .= '