Bug #39004
tx_auxnewsmailer_usercat saved with iduser 0
| Status: | Closed | Start date: | 2012-07-16 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Jean-Sébastien Gervais | % Done: | 100% |
|
| Category: | - | Spent time: | 0.25 hour | |
| Target version: | - | |||
| Votes: | 0 |
Description
When a user saves his subscription(s), seems like there is a duplicate record with iduser 0 that is saved into the database.
History
Updated by Jean-Sébastien Gervais 11 months ago
Only happens when selecting multiple level of news category in the control record.
Root category > sub category > sub sub category.
Root category will be saved as a new auxnewsmailer_usercat for each sub sub category selected when saving subscriptions in the front page.
Updated by Jean-Sébastien Gervais 11 months ago
- File auxnewsmailer.39004.diff added
that was an easy one, a null variable (typo) with an intval for sanity creates a value of zero when updating parent categories of subscriptions.
See diff file.
Updated by Jean-Sébastien Gervais 11 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commited to SVN