@@ -, +, @@ --- C4/Suggestions.pm | 1 + 1 file changed, 1 insertion(+) --- a/C4/Suggestions.pm +++ a/C4/Suggestions.pm @@ -471,6 +471,7 @@ sub ModSuggestion { return unless( $suggestion and defined($suggestion->{suggestionid}) ); my $suggestion_object = Koha::Suggestions->find( $suggestion->{suggestionid} ); + $suggestion->{branchcode} = undef if ( exists( $suggestion->{branchcode} ) && $suggestion->{branchcode} eq "" ); eval { # FIXME Must raise an exception instead $suggestion_object->set($suggestion)->store; }; --