Bug 13380: 3.18.x Fix previous DB entry

The DB entry from bug 13379 should have been executed before bug 13380.

The AV category now contain truncated values.

This patch restores the correct category values.
The DB entry from bug 13379 should have been pushed before.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Jonathan Druart 2015-03-23 17:01:53 +01:00 committed by Chris Cormack
parent 38d15bb20e
commit 6182dc3b48
1 changed files with 7 additions and 0 deletions

View File

@ -9746,6 +9746,13 @@ if(CheckVersion($DBversion)) {
}
$DBversion = "3.18.05.002";
if(CheckVersion($DBversion)) {
$dbh->do(q{UPDATE authorised_values SET category='ORDER_CANCELLATION_REASON' WHERE category='ORDER_CANCELLATI'});
print "Upgrade to $DBversion done (Bug 13380: Fix the authorised value categories if truncated with previous DB update (3.18.04.002))\n";
SetVersion($DBversion);
}
=head1 FUNCTIONS
=head2 TableExists($table)