Return a unique list of k/vs from get_inflated_columns
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Row.pm
index 7d81682..af0f881 100644 (file)
@@ -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 {