Bug 3670: change 'Item DUE' to 'Item Due' in English dbs
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
parent
d6e580439b
commit
07b9125861
2 changed files with 8 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
insert into `message_attributes`
|
||||
(`message_attribute_id`, message_name, `takes_days`)
|
||||
values
|
||||
(1, 'Item DUE', 0),
|
||||
(1, 'Item Due', 0),
|
||||
(2, 'Advance Notice', 1),
|
||||
(4, 'Hold Filled', 0),
|
||||
(5, 'Item Check-in', 0),
|
||||
|
|
|
@ -4083,6 +4083,13 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
|||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = 'XXX';
|
||||
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
||||
$dbh->do("UPDATE `message_attributes` SET message_name='Item Due' WHERE message_attribute_id=1 AND message_name LIKE 'Item DUE'");
|
||||
print "Upgrade to $DBversion done ( fix capitalization in message type )\n";
|
||||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
=head1 FUNCTIONS
|
||||
|
||||
=head2 DropAllForeignKeys($table)
|
||||
|
|
Loading…
Reference in a new issue