From: Moritz Bunkus Date: Wed, 3 Jun 2015 15:16:26 +0000 (+0200) Subject: SL::DB::Helper::TransNumberGenerator: alle beteiligten Spalten aufführen X-Git-Tag: release-3.3.0beta~52 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0aef653a321d8387d164dbc6092d8721711b22f2;p=kivitendo-erp.git SL::DB::Helper::TransNumberGenerator: alle beteiligten Spalten aufführen --- diff --git a/SL/DB/Helper/TransNumberGenerator.pm b/SL/DB/Helper/TransNumberGenerator.pm index c9ed09fc0..9c657293b 100644 --- a/SL/DB/Helper/TransNumberGenerator.pm +++ b/SL/DB/Helper/TransNumberGenerator.pm @@ -86,7 +86,7 @@ sub get_next_trans_number { dbh => $self->db->dbh, select => $number_column, tables => [ $self->meta->table ], - columns => { $self->meta->table => [ $number_column ] }, + columns => { $self->meta->table => [ $self->meta->column_names ] }, query_is_sql => 1, %conditions_for_in_use, );