Skip to content

Commit

Permalink
Bug 24370: Allow resetting library to ANY
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
  • Loading branch information
joubu committed Nov 2, 2021
1 parent 153ff79 commit 134e971
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions suggestion/suggestion.pl
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ sub GetCriteriumDesc{

$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);

Expand Down

0 comments on commit 134e971

Please sign in to comment.