Bug 11412: fix potential bulkmarcimport crash when searching for duplicates in author...
[koha-ffzg.git] / admin / itemtypes.pl
index ee70238..3c33073 100755 (executable)
@@ -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=?