Revision a1fb0546
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Controller/Reclamation.pm | ||
---|---|---|
313 | 313 |
my $saved_reclamation = SL::DB::Reclamation->new(id => $reclamation->id)->load; |
314 | 314 |
|
315 | 315 |
# Create new record from current one |
316 |
my $new_reclamation = SL::Model::Record->update_for_save_as_new($saved_reclamation, $reclamation);
|
|
316 |
my $new_reclamation = SL::Model::Record->clone_for_save_as_new($saved_reclamation, $reclamation);
|
|
317 | 317 |
$self->reclamation($new_reclamation); |
318 | 318 |
|
319 | 319 |
if (!$::form->{form_validity_token}) { |
Auch abrufbar als: Unified diff
Model::Record: umbenennen von update_... zu clone_for_save_as_new