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~113^2~3 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ee90bef1624e0a71ed2bdc0807701cda64b58b4f;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" : '',