X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Famtemplates.pl;h=fa55a0118ccaadc3dfbbcdd78f085fd917c3067c;hb=66671e22ff33f493fae7d8a88145ac1ecf34b3b3;hp=82846c9b7e3fa7f69feeac152abbd3db8d12bf99;hpb=36c54ad253745c4223948cb00f6535efafc85bd5;p=kivitendo-erp.git diff --git a/bin/mozilla/amtemplates.pl b/bin/mozilla/amtemplates.pl index 82846c9b7..fa55a0118 100644 --- a/bin/mozilla/amtemplates.pl +++ b/bin/mozilla/amtemplates.pl @@ -138,7 +138,7 @@ sub display_template_form { my (@values, $file, $setup); while (($file, $setup) = each(%formname_setup)) { - next unless (!ref($setup) || $setup->{$format}); + next if ref($setup) && !$setup->{$format}; push(@values, { "value" => $file,