View Issue Details

IDProjectCategoryView StatusLast Update
0002136phplist applicationSubscribe Processpublic23-02-05 01:49
ReporterNikola Milutinovic 
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.9.2 
Target VersionFixed in Version2.9.4 
Summary0002136: User cannot unsubscribe
DescriptionWhen user tries to unsubscribe, when (s)he is required to supply the reason for unsubscription, the form submit returns to the same page saying "email required".
Additional InformationThe bug is located in "./lists/index.php", function "unsubscribePage($id)", line 501. The generated HTML FORM has a filed named "unsubscribeemail", while the PHP is looking for a field named "email". When user clicks on submit, the filed name is unmatched and, thus, user is thrown back to the same form.
TagsNo tags attached.

Relationships

child of 0002456 resolvedmichiel PHPList v2.9.4 release 

Activities

06-11-04 08:58

 

index.php (21,093 bytes)

michiel

06-11-04 08:58

manager   ~0002533

This is only in version 2.9.3.

If you replace the index.php in the lists directory with the one attached to this Issue, it will be fixed.

michiel

06-11-04 09:00

manager   ~0002534

This is a confirmed issue, but the state of the code doesn't currently allow creating a version that has it fixed, so using the attached file should for the time being solve this problem

gfischer

25-11-04 09:46

reporter   ~0002668

The fixed index.php still doesn't assign the value from $_POST["unsubscribeemail"] to $email. The correct code should read like this I suppose.

    if ($_REQUEST["email"]) {
      $email = $_POST["email"];
    } elseif ($_POST["unsubscribeemail"]) {
      $email = $_POST["unsubscribeemail"];
    }