]> git.koha-community.org Git - koha.git/commit
Bug 20592: Return early in ModItem if nothing to update
authorMark Tompsett <mtompset@hotmail.com>
Tue, 17 Apr 2018 23:59:58 +0000 (23:59 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 19 Oct 2018 17:27:36 +0000 (17:27 +0000)
commit1f0064bbddb9d00529d5eac1c096e669732eb551
tree1b4c2fcb07260bf51b6b77d43ec3fbb654c6b5eb
parent619eca1c7aaebf4db6ed170a3cbd14065da79c9d
Bug 20592: Return early in ModItem if nothing to update

Two lines of code and move them earlier.
Add a check to make sure there are changes.

Followed the test plan, both the _BEFORE_ and after do as described.

Signed-off-by: Cori Lynn Arnold <carnold@dgiinc.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Items.pm