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

--- Comment #65 from Josef Moravec <[email protected]> ---
Comment on attachment 80475
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80475
Bug 20581: (follow-up) Fix statusalias return

Review of attachment 80475:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=20581&attachment=80475)
-----------------------------------------------------------------

::: Koha/Illrequest.pm
@@ +125,5 @@
>              scalar $self->_result->status_alias
> +        );
> +    } else {
> +        return;
> +    }

This could be written even simpler:

return unless $self->status_alias
return Koha::AuthorisedValue->_new_from_dbic(
    scalar $self->_result->status_alias
);

But no blocker

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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