Lines 8613-8618
if ( CheckVersion($DBversion) ) {
Link Here
|
8613 |
SetVersion($DBversion); |
8613 |
SetVersion($DBversion); |
8614 |
} |
8614 |
} |
8615 |
|
8615 |
|
|
|
8616 |
|
8617 |
$DBversion = '3.17.00.XXX'; |
8618 |
if ( CheckVersion($DBversion) ) { |
8619 |
my @temp= $dbh->selectrow_array(qq| |
8620 |
SELECT count(*) |
8621 |
FROM marc_subfield_structure |
8622 |
WHERE kohafield='permanent_location' OR kohafield='items.permanent_location' |
8623 |
|); |
8624 |
print "Upgrade to $DBversion done (Bug 7817: Check for permanent_location)\n"; |
8625 |
if( $temp[0] ) { |
8626 |
print "WARNING for Koha administrator: Your database contains one or more mappings for permanent_location to the MARC structure. This item field however is for internal use and should not be linked to a MARC (sub)field. Please correct it. See also Bugzilla reports 7817 and 12818.\n"; |
8627 |
} |
8628 |
SetVersion($DBversion); |
8629 |
} |
8630 |
|
8616 |
=head1 FUNCTIONS |
8631 |
=head1 FUNCTIONS |
8617 |
|
8632 |
|
8618 |
=head2 TableExists($table) |
8633 |
=head2 TableExists($table) |
8619 |
- |
|
|