After recent changes additem.pl a couple of compile time warnings have crept into cataloguing/additem.pl due to global variables being declared in two places. Remove the duplicates. Additem is also showing a compile time error from C4::Auth due to a line which serves no purpose in there
Created attachment 3970 [details] [review] Proposed Patch
Created attachment 3971 [details] [review] Proposed patch for C4::Auth
THanks for the catch Colin. Pushed
How to test that? Add items and check the logs for entries?
Test with perl -wc additem.pl run the compile pass on the script with warnings enabled
There have been no further reports of problems so I am marking this bug resolved.