https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21620 --- Comment #1 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 80934 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80934&action=edit Bug 21620: Prevent stockrotation cronjob failures Superflous use of sprintf combined with rebasing issue left the stockrotation cronjob such that a 'No action taken' email report would catastrophically fail with the error: Redundant argument in sprintf at ./stockrotation.pl line 316 This patch both resolves the error and cleans up some additional unrequired sprintf usage. Test Plan 1) Create a rotation plan 2) Add some items to the rotation plan 3) Run the cronjob using `stockrotation.pl --report=mail --send-email --execute` 4) Note the lack of errors -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.