X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage.pm;h=89c5ef8b63fe4e055091124185c2aec31d0c11f9;hb=1605376709663b035385b41828ce13ae3ed45a4d;hp=6134b39cb8f680cd35e8795c48128bde2dedbc1a;hpb=4d753fb8e9f7ec28334c93f6a798e0cb0874861a;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage.pm b/lib/DBIx/Class/Storage.pm index 6134b39..89c5ef8 100644 --- a/lib/DBIx/Class/Storage.pm +++ b/lib/DBIx/Class/Storage.pm @@ -229,7 +229,7 @@ sub txn_do { $self->throw_exception($error); # txn failed but rollback succeeded }; - return $wantarray ? @return_values : $return_value; + return wantarray ? @return_values : $return_value; } =head2 txn_begin