Browse Source

Bug 24370: Allow resetting library to ANY

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.11.x
Jonathan Druart 5 months ago
parent
commit
134e9715d2
  1. 3
      suggestion/suggestion.pl

3
suggestion/suggestion.pl

@ -180,6 +180,9 @@ if ( $op =~ /save/i ) {
$suggestion_only->{lastmodificationdate} = dt_from_string;
$suggestion_only->{lastmodificationby} = C4::Context->userenv->{number};
$suggestion_only->{branchcode} = undef
if exists $suggestion_only->{branchcode}
&& $suggestion_only->{branchcode} eq "";
&ModSuggestion($suggestion_only);

Loading…
Cancel
Save