X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=C4%2FSerials.pm;h=20ad7067b41f23cf9dcef05213a64fa33808ac76;hb=98c59fc3577b5904fc980781ce805bff875b157f;hp=ba0397c3c171602486e93a6a0c93fcc0ee84b4af;hpb=734c63222bf807200c1b7bd4dbdcf4f12acd2db9;p=koha_gimpoz diff --git a/C4/Serials.pm b/C4/Serials.pm index ba0397c3c1..20ad7067b4 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -1073,7 +1073,8 @@ sub ModSerialStatus { # check if an alert must be sent... (= a letter is defined & status became "arrived" if ( $val->{letter} && $status == 2 && $oldstatus != 2 ) { - SendAlerts( 'issue', $val->{subscriptionid}, $val->{letter} ); + require C4::Letters; + C4::Letters::SendAlerts( 'issue', $val->{subscriptionid}, $val->{letter} ); } } return;