|
Lines 949-954
sub store {
Link Here
|
| 949 |
} |
949 |
} |
| 950 |
|
950 |
|
| 951 |
if ( C4::Context->preference('DefaultHoldExpirationdate') |
951 |
if ( C4::Context->preference('DefaultHoldExpirationdate') |
|
|
952 |
&& defined C4::Context->preference('DefaultHoldExpirationdatePeriod') |
| 952 |
&& C4::Context->preference('DefaultHoldExpirationdatePeriod') ne '' |
953 |
&& C4::Context->preference('DefaultHoldExpirationdatePeriod') ne '' |
| 953 |
&& !$self->expirationdate ) |
954 |
&& !$self->expirationdate ) |
| 954 |
{ |
955 |
{ |
|
Lines 962-967
sub store {
Link Here
|
| 962 |
if ( |
963 |
if ( |
| 963 |
( |
964 |
( |
| 964 |
C4::Context->preference('DefaultHoldExpirationdate') |
965 |
C4::Context->preference('DefaultHoldExpirationdate') |
|
|
966 |
&& defined C4::Context->preference('DefaultHoldExpirationdatePeriod') |
| 965 |
&& C4::Context->preference('DefaultHoldExpirationdatePeriod') ne '' |
967 |
&& C4::Context->preference('DefaultHoldExpirationdatePeriod') ne '' |
| 966 |
&& ( !exists $updated_columns{expirationdate} || $hold_reverted ) |
968 |
&& ( !exists $updated_columns{expirationdate} || $hold_reverted ) |
| 967 |
) |
969 |
) |
| 968 |
- |
|
|