Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force storing empty bugnote statistics
(1) When a bug has no bugnotes, or visible ones, force storing a 'false' value as bugnote stats in bug cache, to avoid querying the database again later. (2) Additionally, when the function bug_cache_database_result is called with a stats array parameter, and the bug has already been cached, force the creation of the stats index. Previously this wasn't possible if the bug had already been cached without the bugnote stats. Fixes #0020121
- Loading branch information
Showing
2 changed files
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters