Role memberships dates reset

If you aren't speaking german, you can ask for support or post your request here.
Antworten
TenX
Beiträge: 54
Registriert: 11. Sep 2015, 13:22

Role memberships dates reset

Beitrag von TenX »

Under a member profile screen, in the 'Role memberships" box a member is assigned one or more roles with a Start and End date for each role.
If a new additional role is assigned to a member, then the End dates for ALL roles for the member are reset to 12/31/9999.
The system should maintain the existing End date.
Thanks for looking into this issue.
Admidio Ver: 3.1.5
Benutzeravatar
fasse
Administrator
Beiträge: 6058
Registriert: 12. Nov 2005, 16:06

Re: Role memberships dates reset

Beitrag von fasse »

Hi Tenx,

I could reproduce the error and I attached a file with the fix. Please copy the unzipped file to adm_program/modules/profile and replace the existing file.

Now the end date of assigned roles will not be changed.

Best regards
Fasse
Dateianhänge
roles_save.php.zip
(2.95 KiB) 341-mal heruntergeladen
TenX
Beiträge: 54
Registriert: 11. Sep 2015, 13:22

Re: Role memberships dates reset

Beitrag von TenX »

Fasse,
Thank you! That worked. :)
Antworten