View Issue Details

IDProjectCategoryView StatusLast Update
0003788phplist applicationAll Otherpublic18-02-08 14:17
Reporter8VrHMueT 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.8.12 
Target Version2.10.7Fixed in Version2.10.1 
Summary0003788: Confirmation email includes lists that are not active
DescriptionIf a user is on a non-active list for housekeeping purposes, when they get their confirmation email, it includes all the lists they are on including those that are not active. See the text below:

Welcome to our Mailinglists.

Please keep this email for later reference.

Your email address has been added to the following mailinglists:

 *Messages For Your Journey Mailing List
 *Messages For Your Journey Resources and Special Offers
 *placeholder
TagsNo tags attached.

Relationships

related to 0003721 closed phplist 2.10.x 

Activities

michiel

16-08-05 14:35

manager   ~0006217

yes, that's an interesting one. I must have overlooked that. It's kind of "old style" functionality.

You can fix this changing in "lists/index.php"

    $req = Sql_Query("select name,description from $tables[list],$tables[listuser] where $tables[listuser].userid = ".$userdata["id"] ." and $tables[listuser].listid = $tables[list].id");

into

    $req = Sql_Query("select name,description from $tables[list] list ,$tables[listuser] listuser where $tables[listuser].userid = ".$userdata["id"] ." and $tables[listuser].listid = $tables[list].id and list.active");