https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22180
--- Comment #3 from Katrin Fischer <[email protected]> --- ModSerialStatus has 2 checks: # create new expected entry if needed (ie : was "expected" and has changed) my $otherIssueExpected = scalar findSerialsByStatus(EXPECTED, $subscriptionid); if ( !$otherIssueExpected && $oldstatus == EXPECTED && $status != EXPECTED ) { And within: if ( $subscription->{letter} && $status == ARRIVED && $oldstatus != ARRIVED ) { require C4::Letters; C4::Letters::SendAlerts( 'issue', $serialid, $subscription->{letter} ); } I am tempted to move the second if outside of the first one that has the expected check... might do that for testing. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
