[Koha-bugs] [Bug 20817] Add ability to retain 9xx fields when adding on order item to existing record
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 13 15:32:29 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20817
--- Comment #12 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Devinim from comment #10)
> We were not reach any rule for coding guidelines for that situation. Do we
> need to write a new module if a sub will be used in different code? What
> should be the exact amount of usage to move subs in a module? 2,3,4
Hi, you are not supposed to c/p code. If you want to reuse bad code (in .pl and
not tested), you will need to move it to a pm, try to provide tests, then reuse
it.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list