From: Peter Rabbitson Date: Fri, 22 Oct 2010 18:28:55 +0000 (+0200) Subject: Return a unique list of k/vs from get_inflated_columns X-Git-Tag: v0.08124~29 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=edc89064ca702b47da4fdab5c23315f2f726a7bb;p=dbsrgits%2FDBIx-Class.git Return a unique list of k/vs from get_inflated_columns --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index 7d81682..af0f881 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -815,7 +815,7 @@ sub get_inflated_columns { } # return all loaded columns with the inflations overlayed on top - return ($self->get_columns, %inflated); + return %{ { $self->get_columns, %inflated } }; } sub _is_column_numeric {