+++ /dev/null
-INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES('CardnumberLength', '', '', 'Set a length for card numbers.', 'Free');
SetVersion ($DBversion);
}
+$DBversion = "3.19.00.034";
+if ( CheckVersion($DBversion) ) {
+ $dbh->do(q|
+ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
+ VALUES('CardnumberLength', '', '', 'Set a length for card numbers.', 'Free')
+ |);
+ print "Upgrade to $DBversion done (Bug 13984: CardnumberLength syspref missing on some setups\n";
+ SetVersion ($DBversion);
+}
+
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
use strict;
sub kohaversion {
- our $VERSION = '3.19.00.033';
+ our $VERSION = '3.19.00.034';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install