2 if( CheckVersion( $DBversion ) ) {
4 INSERT IGNORE INTO systempreferences
5 (variable, value, explanation, options, type) VALUES
6 ('SaveRecordbyControlNumber', '0', 'If set, advanced cataloging editor will use the control number field to populate the name of the save file, otherwise it uses the biblionumber.', NULL, 'YesNo')
8 NewVersion( $DBversion, 24108, "Add system preference SaveRecordbyControlNumber");