Lines 5225-5237
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
Link Here
|
5225 |
SetVersion($DBversion); |
5225 |
SetVersion($DBversion); |
5226 |
} |
5226 |
} |
5227 |
|
5227 |
|
5228 |
$DBversion = "3.08.01.XXX"; |
|
|
5229 |
if (C4::Context->preference("Version") < TransformToNum($DBversion)) { |
5230 |
$dbh->do(qq|UPDATE systempreferences SET value=concat(value, '<li><a href="http://openlibrary.org/search/?author=({AUTHOR})&title=({TITLE})" target="_blank">Open Library (openlibrary.org)</a></li>') where variable='OPACSearchForTitleIn';|); |
5231 |
print "Upgrade to $DBversion done (Updated syspref OPACSearchForTitleIn to include Open Library )\n"; |
5232 |
SetVersion($DBversion); |
5233 |
} |
5234 |
|
5235 |
=head1 FUNCTIONS |
5228 |
=head1 FUNCTIONS |
5236 |
|
5229 |
|
5237 |
=head2 TableExists($table) |
5230 |
=head2 TableExists($table) |
5238 |
- |
|
|