diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl index ee7023810c..3c33073cbb 100755 --- a/admin/itemtypes.pl +++ b/admin/itemtypes.pl @@ -200,7 +200,7 @@ elsif ( $op eq 'delete_confirm' ) { my $sth = $dbh->prepare(' SELECT COUNT(*) AS total FROM ( SELECT itemtype AS t FROM biblioitems - UNION + UNION ALL SELECT itype AS t FROM items ) AS tmp WHERE tmp.t=?