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>
This commit is contained in:
parent
153ff795ab
commit
134e9715d2
|
|
@ -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…
Reference in New Issue