Browse Source
This fixes a typo in the debit type description of RENT_DAILY_RENEW 1) Go to Administration > Debit types 2) Show all debit types 3) Check for the typo 4) Apply patch 5) Verify that the typo is gone 6) Check account_debit_types table for type: SELECT * FROM account_debit_types; 7) Run database update 8) Repeat and verify typo is gone Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>20.05.x
Katrin Fischer
4 years ago
committed by
Martin Renvoize
5 changed files with 12 additions and 4 deletions
@ -0,0 +1,8 @@ |
|||
$DBversion = 'XXX'; # will be replaced by the RM |
|||
if( CheckVersion( $DBversion ) ) { |
|||
# you can use $dbh here like: |
|||
$dbh->do( "UPDATE account_debit_types SET description = REPLACE(description,'Rewewal','Renewal') WHERE description like '%Rewewal%'" ); |
|||
|
|||
# Always end with this (adjust the bug info) |
|||
NewVersion( $DBversion, 25010, "Fix typo in account_debit_type description"); |
|||
} |
Loading…
Reference in new issue