Bug 15084: typo currency vs currency_code
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 8 Mar 2016 10:15:32 +0000 (10:15 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Tue, 8 Mar 2016 22:03:54 +0000 (22:03 +0000)
commit34380f406c77e5f5fd65e311f09117113f053130
treef7b29173498e600a31015fb12817888e06f12290
parent859e3ce41b69692471e9a1e37d646f9ed0bfe6dd
 Bug 15084: typo currency vs currency_code

The DB column is currency.currency not currency.currency_code.

Test plan:
Delete a currency
Without this patch, you will get a warning in the logs:
No method currency_code! at
/home/koha/src/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
line 148.
And the currency won't be deleted.

With this patch, it will!

It also changes the value of the delete op.

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
admin/currency.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt