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

            Bug ID: 22059
           Summary: Wrong exception parameters in
                    Koha::Patron->set_password
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

Exception::Class requires parameters to be passed as a list instead of a
hashref. Then

this is wrong:
Koha::Exceptions::Password::TooShort->throw({ length => $password_length,
min_length => $min_length });

this is ok:
Koha::Exceptions::Password::TooShort->throw( length => $password_length,
min_length => $min_length );

This is a minor issue anyway, preventing exceptions from being stringified
correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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