View | Details | Raw Unified | Return to bug 7871
Collapse All | Expand All

(-)a/suggestion/suggestion.pl (-2 / +4 lines)
Lines 205-211 if ($op=~/else/) { Link Here
205
205
206
        my $suggestions = &SearchSuggestion($suggestion_ref);
206
        my $suggestions = &SearchSuggestion($suggestion_ref);
207
        foreach my $suggestion (@$suggestions) {
207
        foreach my $suggestion (@$suggestions) {
208
            $suggestion->{budget_name} = GetBudget( $suggestion->{budgetid} )->{budget_name} if $suggestion->{budgetid};
208
            if ($suggestion->{budgetid}){
209
                my $bud = GetBudget( $suggestion->{budgetid} );
210
                $suggestion->{budget_name} = $bud->{budget_name} if $bud;
211
            }
209
            foreach my $date qw(suggesteddate manageddate accepteddate) {
212
            foreach my $date qw(suggesteddate manageddate accepteddate) {
210
                if ($suggestion->{$date} and $suggestion->{$date} ne "0000-00-00" && $suggestion->{$date} ne "" ) {
213
                if ($suggestion->{$date} and $suggestion->{$date} ne "0000-00-00" && $suggestion->{$date} ne "" ) {
211
                    $suggestion->{$date} = format_date( $suggestion->{$date} );
214
                    $suggestion->{$date} = format_date( $suggestion->{$date} );
212
- 

Return to bug 7871