From: Mark Dominus Date: Tue, 21 Sep 2010 17:31:55 +0000 (-0400) Subject: fix precedence error in Row->_is_column_numeric X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a1e1a51f99ae4a98e8e0026ebe9ccb000330576b;p=dbsrgits%2FDBIx-Class-Historic.git fix precedence error in Row->_is_column_numeric --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index 4bdfd51..e8a6b56 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -823,7 +823,7 @@ sub _is_column_numeric { my $colinfo = $self->column_info ($column); # cache for speed (the object may *not* have a resultsource instance) - if (not defined $colinfo->{is_numeric} && $self->_source_handle) { + if (! defined $colinfo->{is_numeric} && $self->_source_handle) { $colinfo->{is_numeric} = $self->result_source->schema->storage->is_datatype_numeric ($colinfo->{data_type}) ? 1