]> git.koha-community.org Git - koha.git/commit
Bug 22059: Fix exception params in Koha::Patron->set_password
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 2 Jan 2019 12:56:52 +0000 (09:56 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 8 Jan 2019 13:48:14 +0000 (13:48 +0000)
commit4d671103f420f1c0b80bcbf13be613b69e2aa4f9
tree99b09349785eaa874a34b86fc30b235c8f710071
parent3ef3ecfe99e219fda854ca57c652e3c52a7f47d7
Bug 22059: Fix exception params in Koha::Patron->set_password

This simple patch fixes a wrong call to ->throw. Parameters shouldn't be
enclosed in curly brackets.

To test:
- Apply the tests patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Patrons.t
=> FAIL: Tests fail because the throw call is wrong
- Apply this patch
- Run:
 k$ prove t/db_dependent/Koha/Patrons.t
=> SUCCESS: Tests pass!
-Sign off :-D

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/Patron.pm