https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41713

--- Comment #5 from Janusz Kaczmarek <[email protected]> ---
Nota bene: the key change is to examine the @{$components} array, not the
reference to the array ($components) in 'if' statement. 

In the old version:

if ( my $components = $biblio->get_marc_components(...

the condition is always true since get_marc_components always returns an array
reference, even if if is an empty array.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to