Bug 14570: Make it possible to add multiple guarantors to a record
[koha.git] / Koha / Object.pm
index 1c382f2..04d34c4 100644 (file)
@@ -72,8 +72,9 @@ sub new {
             next if not exists $attributes->{$column_name} or defined $attributes->{$column_name};
             delete $attributes->{$column_name};
         }
-        $self->{_result} = $schema->resultset( $class->_type() )
-          ->new($attributes);
+
+        $self->{_result} =
+          $schema->resultset( $class->_type() )->new($attributes);
     }
 
     croak("No _type found! Koha::Object must be subclassed!")