View Issue Details

IDProjectCategoryView StatusLast Update
0002136phpList 3 applicationSubscribe Processpublic23-02-05 01:49
ReporterNikola Milutinovic Assigned To 
Status resolvedResolutionfixed 
Product Version2.9.2 
Fixed 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.


child of 0002456 resolvedmichiel PHPList v2.9.4 release 


06-11-04 08:58


index.php (21,093 bytes)


06-11-04 08:58

administrator   ~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.


06-11-04 09:00

administrator   ~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


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"];