]> git.koha-community.org Git - koha.git/commit
Bug 11034: remove incorrect return for BiblioAutoLink
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 10 Oct 2013 13:09:19 +0000 (14:09 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 5 Dec 2013 15:08:04 +0000 (12:08 -0300)
commitdfa9f2f1a71a0862c2ea693200c3f18a9cbc8856
tree2674d688b8a9c384ce79d27b0a1c3b22bee2ee1d
parentc81b0a2ca59bd7254b66ca0256225c88436b3cab
Bug 11034: remove incorrect return for BiblioAutoLink

BiblioAutoLink was being called expecting an array to
be returned. The subroutine in fact returns a scalar

As the variables that the return was stored in, went
out of scope immediately. It is probably better to be
explicit that we are throwing the return away by not
going through the motions of storing it in a variable

To test:

[1] Add or save a bib record using the cataloging editor.
[2] Verify that no regressions have occurred
[3] (optional) If BiblioAddsAuthorities is on, verify that
    relevant authority records are linked to from the bib.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 89a8a17fdc793b145fc0d7bdcef601698b36fdaa)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
cataloguing/addbiblio.pl