@@ -, +, @@ prove t/db_dependent/Koha/Illbackend.t --- Koha/Illrequest.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/Koha/Illrequest.pm +++ a/Koha/Illrequest.pm @@ -278,7 +278,7 @@ correct category and records the fact that the status has changed sub status_alias { my ($self, $new_status_alias) = @_; - my $current_status_alias = $self->SUPER::status_alias; + my $current_status_alias = $self->get_column('status_alias'); if ($new_status_alias) { # Keep a record of the previous status before we change it, @@ -313,7 +313,7 @@ sub status_alias { my $alias = Koha::AuthorisedValues->search( { category => 'ILL_STATUS_ALIAS', - authorised_value => $self->SUPER::status_alias + authorised_value => $current_status_alias }, {}, $self->branchcode @@ -339,8 +339,8 @@ and sends a notice if appropriate sub status { my ( $self, $new_status) = @_; - my $current_status = $self->SUPER::status; - my $current_status_alias = $self->SUPER::status_alias; + my $current_status = $self->get_column('status'); + my $current_status_alias = $self->get_column('status_alias'); if ($new_status) { # Keep a record of the previous status before we change it, --