https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16522
--- Comment #42 from Marcel de Rooy <[email protected]> --- if ( !$hostfld and $record->subfield('773','t') ) { # not linked using $w so just return plaintext my $unlinkedf = $record->field('773'); my $host = join( ", ", $unlinkedf->subfield('a'), $unlinkedf->subfield('t'), $unlinkedf->subfield('g') ); return wantarray ? ( $host, $unlinkedf->subfield('g') ) : $host; } The user of this routine expects a Koha object returned first. You return a concatenation of strings. Would be better to not disturb existing returns but find a way to return new alternative data. And change POD accordingly in the end. -- 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/
