Kosmetik
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 27 Jun 2008 08:49:36 +0000 (08:49 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 27 Jun 2008 08:49:36 +0000 (08:49 +0000)
bin/mozilla/ic.pl

index 3501adc..49448bd 100644 (file)
@@ -75,12 +75,9 @@ sub add {
 
   $auth->assert('part_service_assembly_edit');
 
-  $form->{title} = $locale->text('Add ' . ucfirst $form->{item});
-
-  $form->{callback} = "$form->{script}?action=add&item=$form->{item}"
-    unless $form->{callback};
-
-  $form->{"unit_changeable"} = 1;
+  $form->{title}           = $locale->text('Add ' . ucfirst $form->{item});
+  $form->{callback}        = "$form->{script}?action=add&item=$form->{item}" unless $form->{callback};
+  $form->{unit_changeable} = 1;
 
   IC->get_pricegroups(\%myconfig, \%$form);
   &link_part;