@@ -, +, @@ itemtype - Create an itemtype. - Create some biblios setting the created itemtype at biblio level. - Create some items setting the created itemtype on them. - Try to delete the itemtype in Home > Administration > Item types, the --- admin/itemtypes.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/admin/itemtypes.pl +++ a/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=? --