From: x86-64 Date: Wed, 30 Mar 2016 08:52:59 +0000 (+0400) Subject: Scalar::Defer support as column name X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f9709162cab958e99ec182df05eef79e183add64;p=dbsrgits%2FDBIx-Class-Historic.git Scalar::Defer support as column name --- diff --git a/lib/DBIx/Class/Storage/DBIHacks.pm b/lib/DBIx/Class/Storage/DBIHacks.pm index e98bc49..4a2dd33 100644 --- a/lib/DBIx/Class/Storage/DBIHacks.pm +++ b/lib/DBIx/Class/Storage/DBIHacks.pm @@ -1197,7 +1197,7 @@ sub _collapse_cond { $fin_idx->{ "SER_" . serialize $sub_elt } = $sub_elt; } } - elsif (! length ref $where->[$i] ) { + elsif (! ref $where->[$i] ) { my $sub_elt = $self->_collapse_cond({ @{$where}[$i, $i+1] }) or next;