Lines 10766-10772
if ( CheckVersion($DBversion) ) {
Link Here
|
10766 |
my $query = q{ SELECT * FROM itemtypes ORDER BY description }; |
10766 |
my $query = q{ SELECT * FROM itemtypes ORDER BY description }; |
10767 |
my $sth = C4::Context->dbh->prepare($query); |
10767 |
my $sth = C4::Context->dbh->prepare($query); |
10768 |
$sth->execute; |
10768 |
$sth->execute; |
10769 |
$suggestion_formats = $sth->fetchall_arrayref( {} ); |
10769 |
my $suggestion_formats = $sth->fetchall_arrayref( {} ); |
10770 |
|
10770 |
|
10771 |
foreach my $format (@$suggestion_formats) { |
10771 |
foreach my $format (@$suggestion_formats) { |
10772 |
$dbh->do( |
10772 |
$dbh->do( |
10773 |
- |
|
|