@@ -, +, @@ - Run the database update on your existing installation and check the typo is gone - Run the web installer and check there are no errors and permissions are loaded correctly (and without typos) --- installer/data/mysql/en/mandatory/userpermissions.sql | 2 +- installer/data/mysql/updatedatabase.pl | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) --- a/installer/data/mysql/en/mandatory/userpermissions.sql +++ a/installer/data/mysql/en/mandatory/userpermissions.sql @@ -25,7 +25,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES (11, 'order_manage_all', 'Manage all orders and baskets, regardless of restrictions on them'), (11, 'group_manage', 'Manage orders & basketgroups'), (11, 'order_receive', 'Manage orders & basket'), - (11, 'budget_add_del', 'Add and delete budgets (but cant modify budgets)'), + (11, 'budget_add_del', 'Add and delete budgets (but can''t modify budgets)'), (11, 'budget_manage_all', 'Manage all budgets'), (13, 'edit_news', 'Write news for the OPAC and staff interfaces'), (13, 'label_creator', 'Create printable labels and barcodes from catalog and patron data'), --- a/installer/data/mysql/updatedatabase.pl +++ a/installer/data/mysql/updatedatabase.pl @@ -9522,7 +9522,7 @@ if ( CheckVersion($DBversion) ) { $DBversion = "3.17.00.057"; if ( CheckVersion($DBversion) ) { print "Upgrade to $DBversion done (Koha 3.18 beta)\n"; - SetVersion($DBversion); + SetVersion ($DBversion); } $DBversion = "3.17.00.058"; @@ -9534,6 +9534,15 @@ if( CheckVersion($DBversion) ){ SetVersion($DBversion); } +$DBversion = "3.17.00.XXX"; +if ( CheckVersion($DBversion) ) { + $dbh->do(q{ + UPDATE permissions SET description = "Add and delete budgets (but can't modifiy budgets)" WHERE description = "Add and delete budgets (but cant modify budgets)"; + }); + print "Upgrade to $DBversion done (Bug 10749: Fix typo in budget_add_del permission description)\n"; + SetVersion ($DBversion); +} + =head1 FUNCTIONS =head2 TableExists($table) --