Description of problem: creating a new hwcert and selecting provide manually always defaults to an blank but enabled postdate group being set. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 305349 [details] Pls review. The bug only appears at the state: The user who is in the "hwcert_postdate" group create a new hwcert. it it caused by the below codes: SendSQL("SELECT user_id FROM user_group_map WHERE user_id = $::userid AND group_id = $v AND isbless = 0"); my ($permit) = FetchSQLData(); if ($permit) { push(@groupstoadd, $v) } foreach my $grouptoadd (@groupstoadd) { SendSQL("INSERT INTO bug_group_map (bug_id, group_id) VALUES ($id, $grouptoadd)"); } Best Regards! Nicho
Looks good, please check-in
Patch has been checked into cvs. Nicho