#5820 - No validation for id parameter in stats module
| Identifier | #5820 |
|---|---|
| Issue type | Trivial issue (does not break functionality) |
| Title | No validation for id parameter in stats module |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Version | 11 beta1 |
| Addon | stats |
| Description | There is no validation for what is being passed in the ID parameter for admin_stats type category. This triggers either an INTERNAL ERROR or an undefined array key on line 343 if the ID is invalid. |
| Steps to reproduce | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
If an invalid category ID was provided, we would try to access an array offset which does not exist to get the screen title.
This patch throws a missing resource error if the provided category ID does not exist.