[Koha-bugs] [Bug 17964] TT syntax for notices - Prove that CHECKIN and CHECKOUT are compatible
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 24 09:50:09 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17964
--- Comment #14 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
And as a side note: Is this code in get_tt_params really correct:
else { # $ref eq 'ARRAY'
my $object;
if ( @{ $tables->{$table} } == 1 ) { # Param is a single key
$object = $module->search( { $pk => $tables->{$table} }
)->next();
}
else { # Params are mutliple
foreign keys
croak "Multiple foreign keys (table $table) should be
passed using an hashref";
}
I was thinking that I could pass a few primary keys in an array (see historical
code). But this code croaks on "multiple fk's". Plus a typo :)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list