From d5cb1b3349c8ddb11471002ef14efaa04a3888b9 Mon Sep 17 00:00:00 2001 From: SL-Gundam Date: Thu, 25 Aug 2011 23:51:43 +0200 Subject: [PATCH] Fix for #13265 - Changelog - Issues counted more then one time if they have multiple relations --- changelog_page.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog_page.php b/changelog_page.php index c5cc348..4e11692 100644 --- a/changelog_page.php +++ b/changelog_page.php @@ -213,8 +213,6 @@ foreach( $t_project_ids as $t_project_id ) { continue; } - $t_issues_resolved++; - if ( 0 === strcasecmp( $t_parent_version, $t_version ) ) { $t_issue_ids[] = $t_issue_id; $t_issue_parents[] = $t_issue_parent; @@ -228,6 +226,8 @@ foreach( $t_project_ids as $t_project_id ) { user_cache_array_rows( array_unique( $t_issue_handlers ) ); + $t_issues_resolved = count( $t_issue_ids ); + if ( $t_issues_resolved > 0 ) { if ( !$t_project_header_printed ) { print_project_header_changelog( $t_project_name ); -- 1.7.6.msysgit.0