From: Sven Schöling Date: Fri, 30 Oct 2009 10:40:00 +0000 (+0100) Subject: io.pl: nicht abgefangene Arraykonvertierung X-Git-Tag: release-2.6.1beta1~139 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5fc6bb3cff8e471bddfabe258afb4a9b8c8a3df5;p=kivitendo-erp.git io.pl: nicht abgefangene Arraykonvertierung --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 2047ceb9c..d799a0c1c 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -1208,7 +1208,7 @@ sub print_options { ); my %template_vars = ( - display_copies => scalar @{ $form->{printers} } && $main::latex_templates && $form->{media} ne 'email', + display_copies => scalar @{ $form->{printers} || [] } && $main::latex_templates && $form->{media} ne 'email', display_remove_draft => (!$form->{id} && $form->{draft_id}), display_groupitems => !$dont_display_groupitems{$form->{type}}, groupitems_checked => $form->{groupitems} ? "checked" : '',