https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29785 --- Comment #5 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (In reply to Marcel de Rooy from comment #4)
This looks like it still needs attention though:
=head3 messages
my @messages = @{ $bool->messages };
Returns the I<Koha::Object::Message> objects that were recorded.
=cut
sub messages { my ( $self ) = @_;
$self->{_messages} = [] unless defined $self->{_messages};
return $self->{_messages}; }
This looks correct to me, Koha::Result::Boolean is not inheriting from Koha::Object.
Kind of strange btw that we add a lot of code there? Koha::Result::Boolean->new(0)->add_message({ message => $error });
Can you detail what you mean here? -- You are receiving this mail because: You are watching all bug changes.