Lines 134-139
if ( $op =~ /save/i ) {
Link Here
|
134 |
SearchSuggestion( $suggestion_only ); |
134 |
SearchSuggestion( $suggestion_only ); |
135 |
if (@$suggestions_loop>=1){ |
135 |
if (@$suggestions_loop>=1){ |
136 |
#some suggestion are answering the request Donot Add |
136 |
#some suggestion are answering the request Donot Add |
|
|
137 |
my @messages; |
138 |
for my $suggestion ( @$suggestions_loop ) { |
139 |
push @messages, { type => 'error', code => 'already_exists', id => $suggestion->{suggestionid} }; |
140 |
} |
141 |
$template->param( messages => \@messages ); |
137 |
} |
142 |
} |
138 |
else { |
143 |
else { |
139 |
## Adding some informations related to suggestion |
144 |
## Adding some informations related to suggestion |
140 |
- |
|
|