Kosmetik
authorJan Büren <jan@kivitendo-premium.de>
Mon, 30 Nov 2015 09:42:35 +0000 (10:42 +0100)
committerJan Büren <jan@kivitendo-premium.de>
Mon, 30 Nov 2015 09:42:35 +0000 (10:42 +0100)
SL/OE.pm

index 16ce8c1..aaaef16 100644 (file)
--- a/SL/OE.pm
+++ b/SL/OE.pm
@@ -538,7 +538,7 @@ sub save {
       # force new project, if not set yet
       if ($::instance_conf->get_order_always_project && !$form->{"globalproject_id"} && ($form->{type} eq 'sales_order')) {
         require SL::DB::Customer;
-        my $customer = SL::DB::Manager::Customer->find_by( id => $form->{customer_id} );
+        my $customer = SL::DB::Manager::Customer->find_by(id => $form->{customer_id});
         die "Can't find customer" unless $customer;
         my $new_project = SL::DB::Project->new(
           projectnumber     => $form->{ordnumber},