NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002136phplist applicationSubscribe Processpublic05-11-04 16:3323-02-05 01:49
ReporterNikola Milutinovic 
PlatformOSOS Version
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.
Attached Files? file icon index.php [^] (21,093 bytes) 06-11-04 08:58

- Relationships Relation Graph ] Dependency Graph ]
child of 0002456resolvedmichiel PHPList v2.9.4 release 

-  Notes
michiel (manager)
06-11-04 08:58

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 (manager)
06-11-04 09:00

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 (reporter)
25-11-04 09:46

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

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker