|
@@ -1,7 +1,7 @@
|
1
|
1
|
<?
|
2
|
2
|
|
3
|
|
-if (!isset($_GET['emails']) || !is_array($_GET['emails'])) {
|
4
|
|
- error("Stop that.");
|
|
3
|
+if (!isset($_POST['emails']) || !is_array($_POST['emails'])) {
|
|
4
|
+ error("No email requested");
|
5
|
5
|
}
|
6
|
6
|
|
7
|
7
|
if (!apcu_exists('DBKEY')) {
|
|
@@ -17,14 +17,14 @@ View::show_header('Email Expunge Request');
|
17
|
17
|
</div>
|
18
|
18
|
<form class="create_form box pad" name="emaildelete" action="delete.php" method="post">
|
19
|
19
|
<input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
|
20
|
|
- <? foreach($_GET['emails'] as $email) { ?>
|
|
20
|
+ <? foreach($_POST['emails'] as $email) { ?>
|
21
|
21
|
<input type="hidden" name="emails[]" value="<?=$email?>" />
|
22
|
22
|
<? } ?>
|
23
|
23
|
<input type="hidden" name="action" value="takeemail" />
|
24
|
24
|
<table cellspacing="1" cellpadding="3" border="0" class="layout" width="100%">
|
25
|
25
|
<tr>
|
26
|
26
|
<td class="label">Email:</td>
|
27
|
|
- <td><input type="text" size="30" value="<?=Crypto::decrypt($_GET['emails'][0])?>" disabled /></td>
|
|
27
|
+ <td><input type="text" size="30" value="<?=Crypto::decrypt($_POST['emails'][0])?>" disabled /></td>
|
28
|
28
|
</tr>
|
29
|
29
|
<tr>
|
30
|
30
|
<td class="label">Reason (Optional):</td>
|