my $serien_id = $storage->last_insert_id();
return $serien_id unless $serien_id;
- $c->b_save_serien_buecher( $c, $serien_id, $serie->{'book_ids'} ) if $save_books;
+ $c->b_save_serien_buecher( $serien_id, $serie->{'book_ids'} ) if $save_books;
return $serien_id;
my $book_ids = shift;
my $K = ( caller(0) )[3] . "(): ";
- $c->log->debug( $K . "aufgerufen." ) if $c->stash->{'debug_level'} > 2;
+ $c->log->debug( get_output_string( $K, "aufgerufen, Serien-Id: ", $serien_id, ", Buch-Ids: ", $book_ids ) ) if $c->stash->{'debug_level'} > 2;
my $storage = $c->model('Schema')->storage;
my $dbh = $storage->dbh();