diff --git a/Source/Source.API.php b/Source/Source.API.php index 7fdcce2..2fbf70f 100644 --- a/Source/Source.API.php +++ b/Source/Source.API.php @@ -252,7 +252,7 @@ } # Precache information for resolved bugs - bug_cache_array_rows( $t_fixed_bugs ); + bug_cache_array_rows( array_keys( $t_fixed_bugs ) ); $t_current_user_id = $g_cache_current_user_id; $t_enable_resolving = config_get( 'plugin_Source_enable_resolving' ); @@ -329,7 +329,7 @@ $t_bug->status = $t_bugfix_status; $t_update = true; } - if ( $t_bug->resolution < $t_fixed_threshold || $t_bug->resolution >= $t_notfixedthreshold ) { + if ( $t_bug->resolution < $t_fixed_threshold || $t_bug->resolution >= $t_notfixed_threshold ) { $t_bug->resolution = $t_resolution; $t_update = true; }